aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormusil <tmusil@users.sourceforge.net>2007-07-05 14:50:37 +0000
committermusil <tmusil@users.sourceforge.net>2007-07-05 14:50:37 +0000
commit83b0e87f32388a3ea64440cfade4a06c684770e4 (patch)
tree0aa2f397d798d86cd63e2c276a987ca217ecbac4 /src
parent79fdba5ecf5d6ac1a9746c394f05c522ab7c1e88 (diff)
declaration must be at start of a block
svn path=/trunk/externals/zexy/; revision=7898
Diffstat (limited to 'src')
-rw-r--r--src/matchbox.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/matchbox.c b/src/matchbox.c
index 6e5eeea..b17dfdd 100644
--- a/src/matchbox.c
+++ b/src/matchbox.c
@@ -75,6 +75,7 @@ typedef struct _matchbox
static t_listlist* addlistlist(t_listlist*list, int argc, t_atom*argv) {
t_listlist*ll=(t_listlist*)getbytes(sizeof(t_listlist));
+ t_listlist*lp=0;
ll->next=0;
ll->argc=argc;
ll->argv=(t_atom*)getbytes(argc*sizeof(t_atom));
@@ -84,7 +85,7 @@ static t_listlist* addlistlist(t_listlist*list, int argc, t_atom*argv) {
return ll;
}
- t_listlist*lp=list;
+ lp=list;
while(0!=lp->next)lp=lp->next;
lp->next=ll;