]> granicus.if.org Git - php/commitdiff
- fix build, TSRMLS_FETCH must be the last declaration statement and init using TSRM...
authorPierre Joye <pajoye@php.net>
Mon, 29 Aug 2011 10:10:05 +0000 (10:10 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 29 Aug 2011 10:10:05 +0000 (10:10 +0000)
ext/libxml/libxml.c

index 9863043b5da880f54130370fdf348e3f637e97f3..39f3ee2f119894d8b549e097363d3c0b0b14fbb8 100644 (file)
@@ -937,9 +937,11 @@ static xmlParserInputPtr _php_libxml_user_entity_loader(const char *URL,
                                                **params[]      = {&public, &system, &ctxzv},
                                                *retval_ptr     = NULL;
        int                                     retval;
+       zend_fcall_info         *fci;
        TSRMLS_FETCH();
-       zend_fcall_info         *fci = &LIBXML(entity_loader).fci;
-       
+
+       fci = &LIBXML(entity_loader).fci;
+
        ALLOC_INIT_ZVAL(public);
        if (ID != NULL) {
                ZVAL_STRING(public, ID, 1);