From 82c2e3f20148b88b0721b6887edb9280b45e90f2 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 14 Nov 2014 22:19:41 +0100 Subject: [PATCH] fix build ifdef this var declaration to avoid the vs warning --- ext/standard/exec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 01aaa71f39..15e4876af5 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -244,6 +244,9 @@ PHPAPI zend_string *php_escape_shell_cmd(char *str) register int x, y, l = (int)strlen(str); size_t estimate = (2 * l) + 1; zend_string *cmd; +#ifndef PHP_WIN32 + char *p = NULL; +#endif TSRMLS_FETCH(); -- 2.50.1