diff --git a/simplecpp.cpp b/simplecpp.cpp index a7ced05a..7f65309d 100644 --- a/simplecpp.cpp +++ b/simplecpp.cpp @@ -3687,7 +3687,7 @@ void simplecpp::preprocess(simplecpp::TokenList &output, const simplecpp::TokenL bool closingAngularBracket = false; if (tok) { const std::string &sourcefile = rawtokens.file(rawtok->location); - const bool systemheader = (tok && tok->op == '<'); + const bool systemheader = tok->op == '<'; std::string header; if (systemheader) {