diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-12-25 12:39:47 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-12-25 13:10:32 -0800 |
commit | 1cdc89d3a92704ca94e13c999401cd219d1c696f (patch) | |
tree | 2bd83ea76091ffcd676402637ba40ce5a87140e9 /sv.c | |
parent | 24579eec3367fac01c9608681d22012f67030694 (diff) | |
download | perl-1cdc89d3a92704ca94e13c999401cd219d1c696f.tar.gz |
sv.c:dirp_dup: Avoid compiler warning
Some compilers complain, because -1 is being assigned to an unsigned
variable. This variable is not actually used before being assigned
to, but we have to initialise it as some other compilers cannot
detect that.
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11326,7 +11326,7 @@ Perl_dirp_dup(pTHX_ DIR *const dp, CLONE_PARAMS *const param) register const Direntry_t *dirent; char smallbuf[256]; char *name = NULL; - STRLEN len = -1; + STRLEN len = 0; long pos; #endif |