]> granicus.if.org Git - php/commitdiff
Remove no sense statements
authorXinchen Hui <laruence@php.net>
Mon, 8 Aug 2011 00:47:40 +0000 (00:47 +0000)
committerXinchen Hui <laruence@php.net>
Mon, 8 Aug 2011 00:47:40 +0000 (00:47 +0000)
ext/standard/basic_functions.c

index 3b604efe2ae85fdf8f96bd61833db39b3eec63ac..9d7c0ca4936da7c9b7453a69d730689415c8a006 100644 (file)
@@ -4287,10 +4287,6 @@ PHP_FUNCTION(getopt)
 
                memset(opts, 0, count * sizeof(opt_struct));
 
-               if (!opts) {
-                       RETURN_FALSE;
-               }
-
                /* Reset the array indexes. */
                zend_hash_internal_pointer_reset(Z_ARRVAL_P(p_longopts));