]> granicus.if.org Git - php/commitdiff
Fix [-Wempty-body] compiler warning in Phar extension
authorGeorge Peter Banyard <girgias@php.net>
Sun, 12 Apr 2020 19:10:03 +0000 (21:10 +0200)
committerGeorge Peter Banyard <girgias@php.net>
Sun, 12 Apr 2020 19:10:03 +0000 (21:10 +0200)
ext/phar/phar_path_check.re

index ed532dfe6ba6f98085928e318eb29db18c21f81a..08277b30c2ac2400bb9cae6a9dacf4e4b27d938d 100644 (file)
@@ -35,7 +35,7 @@ phar_path_check_result phar_path_check(char **s, size_t *len, const char **error
 #define YYCURSOR        p
 #define YYLIMIT         p+*len
 #define YYMARKER        m
-#define YYFILL(n)
+#define YYFILL(n)       do {} while (0)
 
 loop:
 /*!re2c