Skip to content

Commit 1ff68d3

Browse files
Fix known condition found by cppcheck
1 parent 79db44c commit 1ff68d3

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
@@ -3687,7 +3687,7 @@ void simplecpp::preprocess(simplecpp::TokenList &output, const simplecpp::TokenL
36873687
bool closingAngularBracket = false;
36883688
if (tok) {
36893689
const std::string &sourcefile = rawtokens.file(rawtok->location);
3690-
const bool systemheader = (tok && tok->op == '<');
3690+
const bool systemheader = tok->op == '<';
36913691
std::string header;
36923692

36933693
if (systemheader) {

0 commit comments

Comments
 (0)