Fix warning

This commit is contained in:
Twan van Laarhoven
2020-05-24 22:06:24 +02:00
parent 386ddb40b9
commit 48dd5907e2
+1 -1
View File
@@ -495,7 +495,7 @@ String expand_keywords(const String& tagged_str, vector<KeywordMatch> const& mat
it = skip_tag(it, end);
} else {
bool is_close = (it+1) != end && *(it+1) == '/';
if (is_close && !close || !is_close && !open) return;
if ((is_close && !close) || (!is_close && !open)) return;
if (is_tag(it, end, "<atom")) {
atom++;
} else if (is_tag(it, end, "</atom")) {