cvs: php4 /ext/standard basic_functions.c
| From: | Sascha Schumann | Date: | Sat, 04 May 2002 18:11:37 +0000 |
| Subject: | cvs: php4 /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11690@lists.php.net to get a copy of this message | ||
sas Sat May 4 14:11:37 2002 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
ret set but unused
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.474 php4/ext/standard/basic_functions.c:1.475
--- php4/ext/standard/basic_functions.c:1.474 Sat May 4 12:59:41 2002
+++ php4/ext/standard/basic_functions.c Sat May 4 14:11:36 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.474 2002/05/04 16:59:41 sas Exp $ */
+/* $Id: basic_functions.c,v 1.475 2002/05/04 18:11:36 sas Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -1277,7 +1277,7 @@
}
}
- if ((ret = putenv(pe.putenv_string)) == 0) { /* success */
+ if (putenv(pe.putenv_string) == 0) { /* success */
zend_hash_add(&BG(putenv_ht), pe.key, pe.key_len+1, (void **) &pe, sizeof(putenv_entry),
NULL);
#ifdef HAVE_TZSET
if (!strncmp(pe.key, "TZ", 2)) {