Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
0c343f4f
Commit
0c343f4f
authored
Feb 16, 2018
by
Jonathan Wilkes
Browse files
remove unused var and unused fn addfileextent
parent
4a606afe
Changes
2
Hide whitespace changes
Inline
Side-by-side
pd/src/g_clone.c
View file @
0c343f4f
...
...
@@ -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
;
...
...
pd/src/m_class.c
View file @
0c343f4f
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment