diff options
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3436,7 +3436,7 @@ ruby_find_basename(const char *name, long *len, long *ext) #if defined DOSISH_DRIVE_LETTER || defined DOSISH_UNC const char *root; #endif - long f, n = -1; + long f = 0, n = -1; name = skipprefix(name); #if defined DOSISH_DRIVE_LETTER || defined DOSISH_UNC |