Commit 0c343f4f authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

remove unused var and unused fn addfileextent

parent 4a606afe
......@@ -125,7 +125,7 @@ static void clone_in_set(t_in *x, t_floatarg f)
static void clone_in_all(t_in *x, t_symbol *s, int argc, t_atom *argv)
{
int phasewas = x->i_owner->x_phase, i;
int i;
for (i = 0; i < x->i_owner->x_n; i++)
{
x->i_owner->x_phase = i;
......@@ -145,7 +145,7 @@ static void clone_in_vis(t_in *x, t_floatarg fn, t_floatarg vis)
static void clone_out_anything(t_out *x, t_symbol *s, int argc, t_atom *argv)
{
t_atom *outv, *ap;
t_atom *outv;
int first =
1 + (s != &s_list && s != &s_float && s != &s_symbol && s != &s_bang),
outc = argc + first;
......
......@@ -601,16 +601,6 @@ t_symbol *gensym(const char *s)
return(dogensym(s, 0));
}
static t_symbol *addfileextent(t_symbol *s)
{
char namebuf[FILENAME_MAX], *str = s->s_name;
int ln = strlen(str);
if (!strcmp(str + ln - 3, ".pd")) return (s);
strcpy(namebuf, str);
strcpy(namebuf+ln, ".pd");
return (gensym(namebuf));
}
#define MAXOBJDEPTH 1000
static int tryingalready;
......
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