]> granicus.if.org Git - php/commitdiff
- MFH: declarations must be.. 1st
authorPierre Joye <pajoye@php.net>
Thu, 20 Nov 2008 10:22:55 +0000 (10:22 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 20 Nov 2008 10:22:55 +0000 (10:22 +0000)
ext/sqlite3/sqlite3.c

index 1506cef5a8496311cd51d8b28cf6cc891c4eef90..a5c4954bea3d1c05fad059cd8dc8dfae8e997522 100644 (file)
@@ -1380,9 +1380,11 @@ PHP_METHOD(sqlite3result, __construct)
 {
        php_sqlite3_result *result_obj;
        zval *object = getThis();
-       result_obj = (php_sqlite3_result *)zend_object_store_get_object(object TSRMLS_CC);
        zend_error_handling error_handling;
 
+       result_obj = (php_sqlite3_result *)zend_object_store_get_object(object TSRMLS_CC);
+
+
        zend_replace_error_handling(EH_THROW, NULL, &error_handling TSRMLS_CC);
 
        php_error_docref(NULL TSRMLS_CC, E_WARNING, "SQLite3Result cannot be directly instantiated");