summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index b823d50..d6440d3 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -3137,7 +3137,7 @@ static QCString getCanonicalTypeForIdentifier(
if (cd && cd==d)
{
- *tSpec="";
+ if (tSpec) *tSpec="";
return "";
}
else if (cd) // resolves to a known class type