Skip to content

Commit 3a5ab21

Browse files
committed
fixed readability-redundant-parentheses clang-tidy warnings
1 parent 4f119c5 commit 3a5ab21

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
@@ -799,7 +799,7 @@ void simplecpp::TokenList::readfile(Stream &stream, const std::string &filename,
799799
if (ch == '\\') {
800800
TokenString tmp;
801801
char tmp_ch = ch;
802-
while ((stream.good()) && (tmp_ch == '\\' || tmp_ch == ' ' || tmp_ch == '\t')) {
802+
while (stream.good() && (tmp_ch == '\\' || tmp_ch == ' ' || tmp_ch == '\t')) {
803803
tmp += tmp_ch;
804804
tmp_ch = stream.readChar();
805805
}

0 commit comments

Comments
 (0)