Skip to content

Commit 4353cb3

Browse files
committed
fixed readability-redundant-parentheses clang-tidy warnings
1 parent eddfd36 commit 4353cb3

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
@@ -808,7 +808,7 @@ void simplecpp::TokenList::readfile(Stream &stream, const std::string &filename,
808808
if (ch == '\\') {
809809
TokenString tmp;
810810
char tmp_ch = ch;
811-
while ((stream.good()) && (tmp_ch == '\\' || tmp_ch == ' ' || tmp_ch == '\t')) {
811+
while (stream.good() && (tmp_ch == '\\' || tmp_ch == ' ' || tmp_ch == '\t')) {
812812
tmp += tmp_ch;
813813
tmp_ch = stream.readChar();
814814
}

0 commit comments

Comments
 (0)