Commit 51f8de81 authored by Rolf Eike Beer's avatar Rolf Eike Beer

if(): avoid one needless string compare for all if() statements

If it's known that it is an "if" it can't be an "elseif".
parent 5cf629c3
......@@ -45,7 +45,7 @@ IsFunctionBlocked(const cmListFileFunction& lff,
if (!cmSystemTools::Strucmp(lff.Name.c_str(),"endif"))
else if (!cmSystemTools::Strucmp(lff.Name.c_str(),"endif"))
// if this is the endif for this if statement, then start executing
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment