com php-src: fix build: ext/standard/exec.c

From: Date: Fri, 14 Nov 2014 21:19:41 +0000
Subject: com php-src: fix build: ext/standard/exec.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83103@lists.php.net to get a copy of this message
Commit: 82c2e3f20148b88b0721b6887edb9280b45e90f2 Author: Anatol Belski <ab@php.net> Fri, 14 Nov 2014 22:19:41 +0100 Parents: 4ae31bff1277f69e7a2a7561d4f09cef3bae55eb Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=82c2e3f20148b88b0721b6887edb9280b45e90f2 Log: fix build ifdef this var declaration to avoid the vs warning Changed paths: M ext/standard/exec.c Diff: diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 01aaa71..15e4876 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();

« previous php.cvs (#83103) next »