forked from len0rd/rockbox
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
This commit is contained in:
parent
6484b45d71
commit
f7808c1fe5
13 changed files with 51 additions and 42 deletions
|
@ -647,7 +647,7 @@ static void *pack_new(t_symbol *s, int argc, t_atom *argv)
|
|||
(void) s;
|
||||
#endif
|
||||
t_pack *x = (t_pack *)pd_new(pack_class);
|
||||
t_atom defarg[2], *ap, *vec, *vp;
|
||||
t_atom defarg[2], *ap, /* *vec, */ *vp;
|
||||
t_gpointer *gp;
|
||||
int nptr = 0;
|
||||
int i;
|
||||
|
@ -660,7 +660,7 @@ static void *pack_new(t_symbol *s, int argc, t_atom *argv)
|
|||
}
|
||||
|
||||
x->x_n = argc;
|
||||
vec = x->x_vec = (t_atom *)getbytes(argc * sizeof(*x->x_vec));
|
||||
/* vec = */ x->x_vec = (t_atom *)getbytes(argc * sizeof(*x->x_vec));
|
||||
x->x_outvec = (t_atom *)getbytes(argc * sizeof(*x->x_outvec));
|
||||
|
||||
for (i = argc, ap = argv; i--; ap++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue