mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
[clang-tidy] use bool literals
Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
27f607ae8b
commit
be036c443e
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
Checks: 'clang-diagnostic-*,clang-analyzer-*,cert-*,performance-*,portability-*,modernize-use-auto,modernize-loop-convert'
|
||||
Checks: 'clang-diagnostic-*,clang-analyzer-*,cert-*,performance-*,portability-*,modernize-use-auto,modernize-loop-convert,modernize-use-bool-literals'
|
||||
WarningsAsErrors: ''
|
||||
HeaderFilterRegex: ''
|
||||
AnalyzeTemporaryDtors: false
|
||||
|
|
|
@ -428,7 +428,7 @@ static void process_mark_finished_children(parser_t &parser, bool block_ok) {
|
|||
assert(pid == proc->pid && "Unexpcted waitpid() return");
|
||||
handle_child_status(proc.get(), proc_status_t::from_waitpid(status));
|
||||
if (proc->status.stopped()) {
|
||||
j->mut_flags().foreground = 0;
|
||||
j->mut_flags().foreground = false;
|
||||
}
|
||||
if (proc->status.normal_exited() || proc->status.signal_exited()) {
|
||||
FLOGF(proc_reap_external,
|
||||
|
|
Loading…
Reference in a new issue