Skip to content

Commit

Permalink
Prevent possible 'QGDict::hashAsciiKey: Invalid null key' warning
Browse files Browse the repository at this point in the history
  • Loading branch information
doxygen committed Dec 24, 2018
1 parent 72f1b53 commit c94a53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/defargs.l
Expand Up @@ -133,7 +133,7 @@ static bool nameIsActuallyPartOfType(QCString &name)
keywords.insert("volatile", DUMMY_ADDR); // foo(... volatile)
first=FALSE;
}
return keywords.find(name)!=0;
return name.length()>0 && keywords.find(name)!=0;
}
%}

Expand Down

0 comments on commit c94a53e

Please sign in to comment.