diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-13 18:47:42 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-13 18:47:42 +0000 |
commit | f7808c1fe5578e0d789fe7d9181e3502482507b8 (patch) | |
tree | f1cf93ff36c5a59e676b1fb9fee3e3c25162e497 /apps/plugins/pdbox/PDa/src/x_connective.c | |
parent | 6484b45d711661c97c5d349065903c40f11ca579 (diff) | |
download | rockbox-f7808c1fe5578e0d789fe7d9181e3502482507b8.tar.gz rockbox-f7808c1fe5578e0d789fe7d9181e3502482507b8.zip |
Fix several 'variable set but not used' warnings reported by GCC 6.4.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29871 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/x_connective.c')
-rw-r--r-- | apps/plugins/pdbox/PDa/src/x_connective.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pdbox/PDa/src/x_connective.c b/apps/plugins/pdbox/PDa/src/x_connective.c index bd504b54a4..f5462db26b 100644 --- a/apps/plugins/pdbox/PDa/src/x_connective.c +++ b/apps/plugins/pdbox/PDa/src/x_connective.c | |||
@@ -647,7 +647,7 @@ static void *pack_new(t_symbol *s, int argc, t_atom *argv) | |||
647 | (void) s; | 647 | (void) s; |
648 | #endif | 648 | #endif |
649 | t_pack *x = (t_pack *)pd_new(pack_class); | 649 | t_pack *x = (t_pack *)pd_new(pack_class); |
650 | t_atom defarg[2], *ap, *vec, *vp; | 650 | t_atom defarg[2], *ap, /* *vec, */ *vp; |
651 | t_gpointer *gp; | 651 | t_gpointer *gp; |
652 | int nptr = 0; | 652 | int nptr = 0; |
653 | int i; | 653 | int i; |
@@ -660,7 +660,7 @@ static void *pack_new(t_symbol *s, int argc, t_atom *argv) | |||
660 | } | 660 | } |
661 | 661 | ||
662 | x->x_n = argc; | 662 | x->x_n = argc; |
663 | vec = x->x_vec = (t_atom *)getbytes(argc * sizeof(*x->x_vec)); | 663 | /* vec = */ x->x_vec = (t_atom *)getbytes(argc * sizeof(*x->x_vec)); |
664 | x->x_outvec = (t_atom *)getbytes(argc * sizeof(*x->x_outvec)); | 664 | x->x_outvec = (t_atom *)getbytes(argc * sizeof(*x->x_outvec)); |
665 | 665 | ||
666 | for (i = argc, ap = argv; i--; ap++) | 666 | for (i = argc, ap = argv; i--; ap++) |