diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-25 08:21:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-25 08:21:01 +0000 |
commit | 3622855a000cd07d570b139e941a76dfeea59078 (patch) | |
tree | cd65553aa0aec2860ccf2bb4b4f64e116a22f5dd /dir.c | |
parent | 6cdedd2f6a8c7ee1887d3338658cbcd3d9909341 (diff) | |
download | ruby-3622855a000cd07d570b139e941a76dfeea59078.tar.gz ruby-3622855a000cd07d570b139e941a76dfeea59078.tar.xz ruby-3622855a000cd07d570b139e941a76dfeea59078.zip |
* dir.c (rb_push_glob): local variable 'maxnest' was
uninitialized.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -909,7 +909,7 @@ rb_push_glob(str, flags) char *p, *pend; char *buf; char *t; - int nest, maxnest; + int nest, maxnest = 0; int noescape = flags & FNM_NOESCAPE; VALUE ary; |