diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2003-07-15 16:19:29 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2003-07-15 16:19:29 +0000 |
commit | 0e4e6009e7a5931023175545dd09705fb2150d55 (patch) | |
tree | 055a697fcd96641c15230d8b0da18f7a5518ce25 | |
parent | 5db6f671d5810d77cea1ad6769874561d23b522a (diff) |
initialized an "nval", since gcc didn't like it uninitialized
svn path=/trunk/externals/zexy/; revision=770
-rw-r--r-- | src/z_random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/z_random.c b/src/z_random.c index a115572..c428fcf 100644 --- a/src/z_random.c +++ b/src/z_random.c @@ -58,7 +58,7 @@ static void urn_bang(t_urn *x) unsigned int range = (x->x_range<1?1:x->x_range); unsigned int randval = x->x_seed; - unsigned int nval, used=1; + unsigned int nval=0, used=1; if (x->x_count>=range){ outlet_bang(x->x_bangout); |