mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-30 07:01:22 -03:00
lint: multiple unary operator
This commit is contained in:
@@ -3284,7 +3284,7 @@ int reader_search_mode() {
|
||||
if (!data) {
|
||||
return -1;
|
||||
}
|
||||
return !!data->search_mode;
|
||||
return data->search_mode == NO_SEARCH ? 0 : 1;
|
||||
}
|
||||
|
||||
int reader_has_pager_contents() {
|
||||
|
||||
Reference in New Issue
Block a user