mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-16 01:51:16 -03: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:
committed by
ridiculousfish
parent
c3fa8c04bf
commit
4087b2ee15
@@ -457,7 +457,7 @@ static wchar_t get_quote(const wcstring &cmd_str, size_t len) {
|
||||
wchar_t res = 0;
|
||||
const wchar_t *const cmd = cmd_str.c_str();
|
||||
|
||||
while (1) {
|
||||
while (true) {
|
||||
if (!cmd[i]) break;
|
||||
|
||||
if (cmd[i] == L'\\') {
|
||||
|
||||
Reference in New Issue
Block a user