Skip to content

Commit 5610e34

Browse files
committed
Kill a few more warnings
1 parent 2ca6f26 commit 5610e34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/standard/dir.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,10 @@ PHP_FUNCTION(glob)
347347
{
348348
char cwd[MAXPATHLEN];
349349
int cwd_skip = 0;
350+
#ifdef ZTS
350351
char work_pattern[MAXPATHLEN];
351352
char *result;
353+
#endif
352354
char *pattern = NULL;
353355
int pattern_len;
354356
long flags = 0;

0 commit comments

Comments
 (0)