summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-08-03 11:26:48 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-08-03 11:26:48 (GMT)
commit844ceaf65cb73fc6b1c316389e5427353edc22dd (patch)
treefa7ebc3ee1f2d64efa0c314c75a1641a994be013
parentfedfa899d52bf819d88f57d70d549b5c281c28fb (diff)
downloadDoxygen-844ceaf65cb73fc6b1c316389e5427353edc22dd.zip
Doxygen-844ceaf65cb73fc6b1c316389e5427353edc22dd.tar.gz
Doxygen-844ceaf65cb73fc6b1c316389e5427353edc22dd.tar.bz2
issue 7068: "QGDict::hashAsciiKey: Invalid null key" error messages (part 4)
-rw-r--r--src/code.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code.l b/src/code.l
index 56bf75c..e92a695 100644
--- a/src/code.l
+++ b/src/code.l
@@ -268,7 +268,7 @@ void VariableContext::addVariable(const QCString &type,const QCString &name)
QCString typeName(ltype.left(i));
ClassDef* newDef = 0;
QCString templateArgs(ltype.right(ltype.length() - i));
- if (
+ if ( !typeName.isEmpty() &&
( // look for class definitions inside the code block
(varType=g_codeClassSDict->find(typeName)) ||
// otherwise look for global class definitions