]> granicus.if.org Git - php/commitdiff
ret set but unused
authorSascha Schumann <sas@php.net>
Sat, 4 May 2002 18:11:36 +0000 (18:11 +0000)
committerSascha Schumann <sas@php.net>
Sat, 4 May 2002 18:11:36 +0000 (18:11 +0000)
ext/standard/basic_functions.c

index a6079e1d16414b424d2d9b60b5094c33166df059..54fc66b4fcb32eddb4eebe0dc1782e0412fa7e89 100644 (file)
@@ -1277,7 +1277,7 @@ PHP_FUNCTION(putenv)
                        }
                }
 
-               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)) {