aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2003-07-15 16:19:29 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2003-07-15 16:19:29 +0000
commit0e4e6009e7a5931023175545dd09705fb2150d55 (patch)
tree055a697fcd96641c15230d8b0da18f7a5518ce25 /src
parent5db6f671d5810d77cea1ad6769874561d23b522a (diff)
initialized an "nval", since gcc didn't like it uninitialized
svn path=/trunk/externals/zexy/; revision=770
Diffstat (limited to 'src')
-rw-r--r--src/z_random.c2
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);