summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/fopen_wrappers.c')
-rw-r--r--main/fopen_wrappers.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c
index dede0efe18..9414ebdf36 100644
--- a/main/fopen_wrappers.c
+++ b/main/fopen_wrappers.c
@@ -638,6 +638,9 @@ PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const c
}
filename_length = (int)strlen(filename);
+#ifndef PHP_WIN32
+ (void) filename_length;
+#endif
/* Relative path open */
if ((*filename == '.')