summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-25 08:21:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-25 08:21:01 +0000
commit6dfd299dec7fa9b9a10857d170156ac4f17da9a2 (patch)
treecd65553aa0aec2860ccf2bb4b4f64e116a22f5dd /dir.c
parent0f95eb4659422596b658b4a7c0cb4c9b790dbdb6 (diff)
* dir.c (rb_push_glob): local variable 'maxnest' was
uninitialized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 2e728adda2..8589b7801b 100644
--- a/dir.c
+++ b/dir.c
@@ -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;