mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- Removed unused variable
This commit is contained in:
parent
9b30877d56
commit
b649693a90
1 changed files with 3 additions and 5 deletions
|
@ -126,8 +126,6 @@ int phpdbg_do_cmd( const phpdbg_command_t *command, char *cmd_line, size_t cmd_l
|
||||||
#endif
|
#endif
|
||||||
size_t expr_len = (cmd != NULL) ? strlen(cmd) : 0;
|
size_t expr_len = (cmd != NULL) ? strlen(cmd) : 0;
|
||||||
|
|
||||||
phpdbg_param_t *param = NULL;
|
|
||||||
|
|
||||||
while (command && command->name && command->handler) {
|
while (command && command->name && command->handler) {
|
||||||
if ((command->name_len == expr_len && memcmp(cmd, command->name, expr_len) == 0)
|
if ((command->name_len == expr_len && memcmp(cmd, command->name, expr_len) == 0)
|
||||||
|| (expr_len == 1 && command->alias && command->alias == cmd_line[0])) {
|
|| (expr_len == 1 && command->alias && command->alias == cmd_line[0])) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue