From: Felipe Pena Date: Sun, 17 Nov 2013 12:10:02 +0000 (-0200) Subject: - Drop unneeded parenthesis X-Git-Tag: php-5.6.0alpha1~110^2~275 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4eb20ecfe756f46fec536ebfbd94066a1275ab37;p=php - Drop unneeded parenthesis --- diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index b78efb426a..cb5d83b2e0 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -195,7 +195,7 @@ static PHPDBG_COMMAND(exec) /* {{{ */ struct stat sb; if (VCWD_STAT(param->str, &sb) != FAILURE) { - if (sb.st_mode & S_IFREG|S_IFLNK) { + if (sb.st_mode & (S_IFREG|S_IFLNK)) { if (PHPDBG_G(exec)) { phpdbg_notice("Unsetting old execution context: %s", PHPDBG_G(exec)); efree(PHPDBG_G(exec)); @@ -734,7 +734,7 @@ int phpdbg_do_cmd( const phpdbg_command_t *command, while (command && command->name && command->handler) { 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])) { param = emalloc(sizeof(phpdbg_param_t)); @@ -754,7 +754,7 @@ int phpdbg_do_cmd( const phpdbg_command_t *command, PHPDBG_G(lparam) = param; - if (command->subs && (param->type == STR_PARAM)) { + if (command->subs && param->type == STR_PARAM) { if (phpdbg_do_cmd(command->subs, selected, param->str, param->len TSRMLS_CC) == SUCCESS) { rc = SUCCESS; /* because we can */