tony2001 Mon Jun 19 11:39:02 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/sapi/cgi cgi_main.c
Log:
MFH: add missing ifdef and avoid "unused variable" warning
http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.6&r2=1.267.2.15.2.7&diff_format=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.6
php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.7
--- php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.6 Sat Jun 17 11:08:05 2006
+++ php-src/sapi/cgi/cgi_main.c Mon Jun 19 11:39:02 2006
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cgi_main.c,v 1.267.2.15.2.6 2006/06/17 11:08:05 nlopess Exp $ */
+/* $Id: cgi_main.c,v 1.267.2.15.2.7 2006/06/19 11:39:02 tony2001 Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -387,9 +387,11 @@
static char *_sapi_cgibin_putenv(char *name, char *value TSRMLS_DC)
{
int name_len;
+#if !HAVE_SETENV || !HAVE_UNSETENV
int len;
char *buf;
-
+#endif
+
if (!name) {
return NULL;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php