summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.c
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2015-01-30 22:32:00 +0100
committerMichael Wallner <mike@php.net>2015-01-30 22:32:00 +0100
commit570ed1a1a4061da99839c47cece8f4ca560ea28f (patch)
tree8f05a994391f61686dfc4afbe436a785e636e9b3 /main/fopen_wrappers.c
parent7a94243402d95b227931004aa9d10a1b94aeaef8 (diff)
downloadphp-git-570ed1a1a4061da99839c47cece8f4ca560ea28f.tar.gz
fix warnings
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 == '.')