mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
Fix some Clang -Wstring-conversion warnings
Some false positives, but some flagged faulty asserts where the ! was inside the string instead of outside.
This commit is contained in:
@@ -292,11 +292,11 @@ void cmGeneratorExpressionParser::ParseContent(
|
||||
}
|
||||
else
|
||||
{
|
||||
assert(!"Got unexpected syntax token.");
|
||||
assert(0 && "Got unexpected syntax token.");
|
||||
}
|
||||
assert(this->it != this->Tokens.end());
|
||||
++this->it;
|
||||
return;
|
||||
}
|
||||
assert(!"Unhandled token in generator expression.");
|
||||
assert(0 && "Unhandled token in generator expression.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user