mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix Clang style nits (GH-17685)
This addresses all `-Wlogical-op-parentheses` and `-Wmissing-braces` warnings across the whole code base (all Windows specific code).
This commit is contained in:
parent
dc7161cffe
commit
107bd080a5
10 changed files with 12 additions and 13 deletions
|
@ -840,9 +840,9 @@ static int do_cli(int argc, char **argv) /* {{{ */
|
|||
is essential to mitigate buggy console info. */
|
||||
interactive = php_win32_console_is_own() &&
|
||||
!(script_file ||
|
||||
argc > php_optind && context.mode != PHP_CLI_MODE_CLI_DIRECT &&
|
||||
(argc > php_optind && context.mode != PHP_CLI_MODE_CLI_DIRECT &&
|
||||
context.mode != PHP_CLI_MODE_PROCESS_STDIN &&
|
||||
strcmp(argv[php_optind-1],"--")
|
||||
strcmp(argv[php_optind-1],"--"))
|
||||
);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue