use true/false instead of 1/0 detected and changed by clang-tidy
This commit is contained in:
@ -957,7 +957,7 @@ std::vector<std::string> utils::split_words(const std::string &text)
|
||||
}
|
||||
|
||||
// unquoted
|
||||
while (1) {
|
||||
while (true) {
|
||||
if ((c == '\'') || (c == '"')) goto quoted;
|
||||
// skip escaped quote
|
||||
if ((c == '\\') && ((buf[1] == '\'') || (buf[1] == '"'))) {
|
||||
|
||||
Reference in New Issue
Block a user