summaryrefslogtreecommitdiff
path: root/ext/Cwd
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-05-30 23:56:14 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-30 23:56:14 +0000
commit9c5ffd7c3fe1ab64d3e7d06810ac3ab42426718b (patch)
tree0865e36d778d81c5329cbbace339ef7bc601980a /ext/Cwd
parenta355d973eb7817e2c7ea1f451ee3c80da9cf5765 (diff)
downloadperl-9c5ffd7c3fe1ab64d3e7d06810ac3ab42426718b.tar.gz
More -Wall sweeping.
p4raw-id: //depot/perl@10338
Diffstat (limited to 'ext/Cwd')
-rw-r--r--ext/Cwd/Cwd.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Cwd/Cwd.xs b/ext/Cwd/Cwd.xs
index 745a67ffe9..872591d3ad 100644
--- a/ext/Cwd/Cwd.xs
+++ b/ext/Cwd/Cwd.xs
@@ -130,7 +130,7 @@ _cwdxs_abs_path(char *start)
char dotdots[MAXPATHLEN] = { 0 };
char name[MAXPATHLEN] = { 0 };
char *cwd;
- int namelen;
+ int namelen = 0;
struct stat cst, pst, tst;
if (PerlLIO_stat(start, &cst) < 0) {