]> granicus.if.org Git - php/commitdiff
- Removed unused var
authorFelipe Pena <felipensp@gmail.com>
Tue, 19 Nov 2013 21:40:01 +0000 (19:40 -0200)
committerFelipe Pena <felipensp@gmail.com>
Tue, 19 Nov 2013 21:40:01 +0000 (19:40 -0200)
phpdbg_cmd.c
phpdbg_prompt.c

index f6a15b487ac4ac495c8f66f7015733e14e3b7593..5b3de53ccc3d140fd6cad946305a08f54411e085 100644 (file)
@@ -287,7 +287,6 @@ phpdbg_input_t *phpdbg_read_input(TSRMLS_D) /* {{{ */
 void phpdbg_destroy_input(phpdbg_input_t **input TSRMLS_DC) /*{{{ */
 {
        if (*input) {
-
                if ((*input)->string) {
                        efree((*input)->string);
                }
index bb7dc001e5d84eb0abe601c8c23e0770e9891264..2136f17b4b4b9dc23204349bc681042f8435b7f6 100644 (file)
@@ -696,7 +696,7 @@ static PHPDBG_COMMAND(register) /* {{{ */
                                phpdbg_error(
                                        "The requested name (%s) is already in use", lcname);
                        }
-                       
+
                        efree(lcname);
                } break;
 
@@ -919,11 +919,10 @@ static inline int phpdbg_call_register(phpdbg_input_t *input TSRMLS_DC) /* {{{ *
        size_t cmd_len = input->length;
        const char *start = (const char*) input->start;
        size_t offset = strlen(cmd)+(sizeof(" ")-1);
-       
+
        if (zend_hash_exists(&PHPDBG_G(registered), cmd, strlen(cmd)+1)) {
                zval fname, *fretval, *farg = NULL;
                zend_fcall_info fci;
-               zend_fcall_info_cache fcic;
 
                zval **params[1];
 
@@ -961,7 +960,7 @@ static inline int phpdbg_call_register(phpdbg_input_t *input TSRMLS_DC) /* {{{ *
                }
                return SUCCESS;
        }
-       
+
        return FAILURE;
 } /* }}} */
 
@@ -970,11 +969,11 @@ int phpdbg_interactive(TSRMLS_D) /* {{{ */
        int ret = SUCCESS;
 
        phpdbg_input_t* input = phpdbg_read_input(TSRMLS_C);
-       
+
        if (input && input->length > 0L) {
                do {
                        phpdbg_do_cmd_ex(phpdbg_prompt_commands, input TSRMLS_CC);
-                       
+
                        switch (ret = phpdbg_do_cmd(phpdbg_prompt_commands, input->string, input->length TSRMLS_CC)) {
                                case FAILURE:
                                        if (!(PHPDBG_G(flags) & PHPDBG_IS_QUITTING)) {
@@ -994,10 +993,10 @@ int phpdbg_interactive(TSRMLS_D) /* {{{ */
                                        goto out;
                                }
                        }
-                       
+
                        phpdbg_destroy_input(&input TSRMLS_CC);
                } while ((input = phpdbg_read_input(TSRMLS_C)) && (input->length > 0L));
-               
+
                if (!input->length)
                        goto last;