diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-24 19:46:25 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-24 19:47:20 (GMT) |
commit | c94a53eefb4159d238cb5714b6732e145aaeb582 (patch) | |
tree | 4932404c5ea07d741a6e1b81b1f5dfd1818d1552 | |
parent | 72f1b53bb5aebfebf829a684a7f16de1c07873c7 (diff) | |
download | Doxygen-c94a53eefb4159d238cb5714b6732e145aaeb582.zip Doxygen-c94a53eefb4159d238cb5714b6732e145aaeb582.tar.gz Doxygen-c94a53eefb4159d238cb5714b6732e145aaeb582.tar.bz2 |
Prevent possible 'QGDict::hashAsciiKey: Invalid null key' warning
-rw-r--r-- | src/defargs.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defargs.l b/src/defargs.l index c1a3b09..7e9ccca 100644 --- a/src/defargs.l +++ b/src/defargs.l @@ -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; } %} |