]> granicus.if.org Git - php/commitdiff
- Nitpicking, using same code (without unicode handling) than in HEAD
authorDavid Coallier <davidc@php.net>
Wed, 12 Dec 2007 03:29:31 +0000 (03:29 +0000)
committerDavid Coallier <davidc@php.net>
Wed, 12 Dec 2007 03:29:31 +0000 (03:29 +0000)
  just removed useless } else {

ext/spl/spl_array.c

index 4a6c09b16fe1bc31b039a49d5af466c59bce59f9..bed700bae983c50aff98c6fda424aca9db6f6d7d 100755 (executable)
@@ -1481,9 +1481,9 @@ SPL_METHOD(Array, serialize)
 
        if (buf.c) {
                RETURN_STRINGL(buf.c, buf.len, 0);
-       } else {
-               RETURN_NULL();
        }
+
+       RETURN_NULL();
        
 } /* }}} */