Commit 852a51c0 authored by Mathieu L Bouchard's avatar Mathieu L Bouchard
Browse files

remove unused vars

parent d6d60273
......@@ -348,8 +348,7 @@ void iemgui_all_raute2dollar(t_symbol **srlsym)
void iemgui_send(void *x, t_iemgui *iemgui, t_symbol *s)
{
t_symbol *snd;
int pargc, tail_len, nth_arg, sndable=1, oldsndrcvable=0;
t_atom *pargv;
int sndable=1, oldsndrcvable=0;
if(iemgui->x_fsf.x_rcv_able)
oldsndrcvable += IEM_GUI_OLD_RCV_FLAG;
......@@ -368,8 +367,7 @@ void iemgui_send(void *x, t_iemgui *iemgui, t_symbol *s)
void iemgui_receive(void *x, t_iemgui *iemgui, t_symbol *s)
{
t_symbol *rcv;
int pargc, tail_len, nth_arg, rcvable=1, oldsndrcvable=0;
t_atom *pargv;
int rcvable=1, oldsndrcvable=0;
if(iemgui->x_fsf.x_rcv_able)
oldsndrcvable += IEM_GUI_OLD_RCV_FLAG;
......@@ -403,8 +401,6 @@ void iemgui_receive(void *x, t_iemgui *iemgui, t_symbol *s)
void iemgui_label(void *x, t_iemgui *iemgui, t_symbol *s)
{
t_symbol *lab;
int pargc, tail_len, nth_arg;
t_atom *pargv;
/* tb: fix for empty label { */
if (s == gensym(""))
......
......@@ -866,7 +866,6 @@ static void *bng_new(t_symbol *s, int argc, t_atom *argv)
int fs=10;
int ftbreak=IEM_BNG_DEFAULTBREAKFLASHTIME,
fthold=IEM_BNG_DEFAULTHOLDFLASHTIME;
char str[144];
iem_inttosymargs(&x->x_gui.x_isa, 0);
iem_inttofstyle(&x->x_gui.x_fsf, 0);
......
......@@ -157,7 +157,6 @@ void hradio_draw_move(t_hradio *x, t_glist *glist)
void hradio_draw_erase(t_hradio* x, t_glist* glist)
{
t_canvas *canvas=glist_getcanvas(glist);
int n=x->x_number, i;
sys_vgui(".x%lx.c delete %lxHRDO\n", canvas, x);
sys_vgui(".x%lx.c dtag all %lxHRDO\n", canvas, x);
......@@ -960,12 +959,9 @@ static void *hradio_donew(t_symbol *s, int argc, t_atom *argv, int old)
{
t_hradio *x = (t_hradio *)pd_new(old? hradio_old_class : hradio_class);
int bflcol[]={-262144, -1, -1};
int a=IEM_GUI_DEFAULTSIZE, on=0, f=0;
int a=IEM_GUI_DEFAULTSIZE, on=0;
int ldx=0, ldy=-8, chg=1, num=8;
int fs=10;
int ftbreak=IEM_BNG_DEFAULTBREAKFLASHTIME,
fthold=IEM_BNG_DEFAULTHOLDFLASHTIME;
char str[144];
iem_inttosymargs(&x->x_gui.x_isa, 0);
iem_inttofstyle(&x->x_gui.x_fsf, 0);
......
......@@ -966,10 +966,9 @@ static void *hslider_new(t_symbol *s, int argc, t_atom *argv)
t_hslider *x = (t_hslider *)pd_new(hslider_class);
int bflcol[]={-262144, -1, -1};
int w=IEM_SL_DEFAULTSIZE, h=IEM_GUI_DEFAULTSIZE;
int lilo=0, ldx=-2, ldy=-8, f=0, v=0, steady=1;
int lilo=0, ldx=-2, ldy=-8, v=0, steady=1;
int fs=10;
double min=0.0, max=(double)(IEM_SL_DEFAULTSIZE-1);
char str[144];
iem_inttosymargs(&x->x_gui.x_isa, 0);
iem_inttofstyle(&x->x_gui.x_fsf, 0);
......
......@@ -99,8 +99,6 @@ int vinlet_issignal(t_vinlet *x)
return (x->x_buf != 0);
}
static int tot;
t_int *vinlet_perform(t_int *w)
{
t_vinlet *x = (t_vinlet *)(w[1]);
......@@ -167,7 +165,7 @@ void vinlet_dspprolog(struct _vinlet *x, t_signal **parentsigs,
int myvecsize, int calcsize, int phase, int period, int frequency,
int downsample, int upsample, int reblock, int switched)
{
t_signal *insig, *outsig;
t_signal *insig;
/* no buffer means we're not a signal inlet */
if (!x->x_buf)
return;
......@@ -487,7 +485,7 @@ void voutlet_dspepilog(struct _voutlet *x, t_signal **parentsigs,
x->x_updown.upsample=upsample;
if (reblock)
{
t_signal *insig, *outsig;
t_signal *outsig;
int parentvecsize, bufsize, oldbufsize;
int re_parentvecsize;
int bigperiod, epilogphase, blockphase;
......
......@@ -805,11 +805,10 @@ static void *toggle_new(t_symbol *s, int argc, t_atom *argv)
{
t_toggle *x = (t_toggle *)pd_new(toggle_class);
int bflcol[]={-262144, -1, -1};
int a=IEM_GUI_DEFAULTSIZE, f=0;
int a=IEM_GUI_DEFAULTSIZE;
int ldx=17, ldy=7;
int fs=10;
t_float on=0.0, nonzero=1.0;
char str[144];
iem_inttosymargs(&x->x_gui.x_isa, 0);
iem_inttofstyle(&x->x_gui.x_fsf, 0);
......
......@@ -957,12 +957,9 @@ static void *vradio_donew(t_symbol *s, int argc, t_atom *argv, int old)
{
t_vradio *x = (t_vradio *)pd_new(old? vradio_old_class : vradio_class);
int bflcol[]={-262144, -1, -1};
int a=IEM_GUI_DEFAULTSIZE, on=0, f=0;
int a=IEM_GUI_DEFAULTSIZE, on=0;
int ldx=0, ldy=-8, chg=1, num=8;
int fs=10;
int ftbreak = IEM_BNG_DEFAULTBREAKFLASHTIME,
fthold = IEM_BNG_DEFAULTHOLDFLASHTIME;
char str[144];
if((argc == 15)&&IS_A_FLOAT(argv,0)&&IS_A_FLOAT(argv,1)&&IS_A_FLOAT(argv,2)
&&IS_A_FLOAT(argv,3)
......
......@@ -959,10 +959,9 @@ static void *vslider_new(t_symbol *s, int argc, t_atom *argv)
t_vslider *x = (t_vslider *)pd_new(vslider_class);
int bflcol[]={-262144, -1, -1};
int w=IEM_GUI_DEFAULTSIZE, h=IEM_SL_DEFAULTSIZE;
int lilo=0, f=0, ldx=0, ldy=-9;
int lilo=0, ldx=0, ldy=-9;
int fs=10, v=0, steady=1;
double min=0.0, max=(double)(IEM_SL_DEFAULTSIZE-1);
char str[144];
iem_inttosymargs(&x->x_gui.x_isa, 0);
iem_inttofstyle(&x->x_gui.x_fsf, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment