summaryrefslogtreecommitdiffstats
path: root/src/defargs.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-12-24 19:46:25 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2018-12-24 19:47:20 (GMT)
commitc94a53eefb4159d238cb5714b6732e145aaeb582 (patch)
tree4932404c5ea07d741a6e1b81b1f5dfd1818d1552 /src/defargs.l
parent72f1b53bb5aebfebf829a684a7f16de1c07873c7 (diff)
downloadDoxygen-c94a53eefb4159d238cb5714b6732e145aaeb582.zip
Doxygen-c94a53eefb4159d238cb5714b6732e145aaeb582.tar.gz
Doxygen-c94a53eefb4159d238cb5714b6732e145aaeb582.tar.bz2
Prevent possible 'QGDict::hashAsciiKey: Invalid null key' warning
Diffstat (limited to 'src/defargs.l')
-rw-r--r--src/defargs.l2
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;
}
%}