]> granicus.if.org Git - php/commitdiff
- Declaration first
authorFelipe Pena <felipensp@gmail.com>
Sun, 10 Nov 2013 00:34:38 +0000 (22:34 -0200)
committerFelipe Pena <felipensp@gmail.com>
Sun, 10 Nov 2013 00:34:38 +0000 (22:34 -0200)
phpdbg.c

index ba4da2190791375db3986e5975830af846eb884d..375e4ff8b8d751f715ae151d2df2dee5530e1600 100644 (file)
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -90,13 +90,13 @@ static inline int zend_machine(int argc, char **argv TSRMLS_DC) /* {{{ */
 
 int main(int argc, char **argv) /* {{{ */
 {
+       sapi_module_struct *phpdbg = &phpdbg_sapi_module;
 #ifdef ZTS
        void ***tsrm_ls;
        tsrm_startup(1, 1, 0, NULL);
 
        tsrm_ls = ts_resource(0);
 #endif
-       sapi_module_struct *phpdbg = &phpdbg_sapi_module;
 
 #ifdef PHP_WIN32
        _fmode = _O_BINARY;                 /* sets default for file streams to binary */