davidc          Wed Dec 12 03:29:32 2007 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/spl    spl_array.c 
  Log:
  - Nitpicking, using same code (without unicode handling) than in HEAD
    just removed useless } else {
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_array.c?r1=1.71.2.17.2.13.2.7&r2=1.71.2.17.2.13.2.8&diff_format=u
Index: php-src/ext/spl/spl_array.c
diff -u php-src/ext/spl/spl_array.c:1.71.2.17.2.13.2.7 
php-src/ext/spl/spl_array.c:1.71.2.17.2.13.2.8
--- php-src/ext/spl/spl_array.c:1.71.2.17.2.13.2.7      Fri Dec  7 13:33:10 2007
+++ php-src/ext/spl/spl_array.c Wed Dec 12 03:29:31 2007
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: spl_array.c,v 1.71.2.17.2.13.2.7 2007/12/07 13:33:10 rrichards Exp $ */
+/* $Id: spl_array.c,v 1.71.2.17.2.13.2.8 2007/12/12 03:29:31 davidc Exp $ */
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -1481,9 +1481,9 @@
 
        if (buf.c) {
                RETURN_STRINGL(buf.c, buf.len, 0);
-       } else {
-               RETURN_NULL();
        }
+
+       RETURN_NULL();
        
 } /* }}} */
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to