cellog          Sat Feb 21 02:37:18 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/phar   phar_object.c 
  Log:
  cosmetics: remove two unreachable return statements, removes warning in sun cc
  
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/phar_object.c?r1=1.266.2.57&r2=1.266.2.58&diff_format=u
Index: php-src/ext/phar/phar_object.c
diff -u php-src/ext/phar/phar_object.c:1.266.2.57 
php-src/ext/phar/phar_object.c:1.266.2.58
--- php-src/ext/phar/phar_object.c:1.266.2.57   Wed Dec 31 11:15:42 2008
+++ php-src/ext/phar/phar_object.c      Sat Feb 21 02:37:18 2009
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: phar_object.c,v 1.266.2.57 2008/12/31 11:15:42 sebastian Exp $ */
+/* $Id: phar_object.c,v 1.266.2.58 2009/02/21 02:37:18 cellog Exp $ */
 
 #include "phar_internal.h"
 #include "func_interceptors.h"
@@ -3946,7 +3946,6 @@
                        phar_parse_metadata(&buf, &ret, 
phar_obj->arc.archive->metadata_len TSRMLS_CC);
                        efree(buf);
                        RETURN_ZVAL(ret, 0, 1);
-                       return;
                }
                RETURN_ZVAL(phar_obj->arc.archive->metadata, 1, 0);
        }
@@ -4590,7 +4589,6 @@
                        phar_parse_metadata(&buf, &ret, 
entry_obj->ent.entry->metadata_len TSRMLS_CC);
                        efree(buf);
                        RETURN_ZVAL(ret, 0, 1);
-                       return;
                }
                RETURN_ZVAL(entry_obj->ent.entry->metadata, 1, 0);
        }



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

Reply via email to