com php-src: fix var declaration used by macro conditions: sapi/cli/ps_title.c
| From: | Anatol Belski | Date: | Mon, 10 Nov 2014 22:30:15 +0000 |
| Subject: | com php-src: fix var declaration used by macro conditions: sapi/cli/ps_title.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83011@lists.php.net to get a copy of this message | ||
Commit: 96805364fa89f98e5dff24e2eab9bb780c87e5de
Author: Anatol Belski <ab@php.net> Mon, 10 Nov 2014 18:26:20 +0100
Parents: 5ad7cad103df571c6a73c39aad969208a3c04748
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=96805364fa89f98e5dff24e2eab9bb780c87e5de
Log:
fix var declaration used by macro conditions
Changed paths:
M sapi/cli/ps_title.c
Diff:
diff --git a/sapi/cli/ps_title.c b/sapi/cli/ps_title.c
index 4885d9e..6cef483 100644
--- a/sapi/cli/ps_title.c
+++ b/sapi/cli/ps_title.c
@@ -129,7 +129,9 @@ static char** save_argv;
* This holds the 'locally' allocated environ from the save_ps_args method.
* This is subsequently free'd at exit.
*/
+#if defined(PS_USE_CLOBBER_ARGV)
static char** frozen_environ, **new_environ;
+#endif
/*
* Call this method early, before any code has used the original argv passed in