Skip to content

Commit 0c04a76

Browse files
committed
fixed readability-redundant-parentheses clang-tidy warnings
1 parent 9d260eb commit 0c04a76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simplecpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ void simplecpp::TokenList::readfile(Stream &stream, const std::string &filename,
809809
if (ch == '\\') {
810810
TokenString tmp;
811811
char tmp_ch = ch;
812-
while ((stream.good()) && (tmp_ch == '\\' || tmp_ch == ' ' || tmp_ch == '\t')) {
812+
while (stream.good() && (tmp_ch == '\\' || tmp_ch == ' ' || tmp_ch == '\t')) {
813813
tmp += tmp_ch;
814814
tmp_ch = stream.readChar();
815815
}

0 commit comments

Comments
 (0)