Commit 2e1a3702 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Fixed potential null pointer dereference

parent 1688ab7e
...@@ -3137,7 +3137,7 @@ static QCString getCanonicalTypeForIdentifier( ...@@ -3137,7 +3137,7 @@ static QCString getCanonicalTypeForIdentifier(
if (cd && cd==d) if (cd && cd==d)
{ {
*tSpec=""; if (tSpec) *tSpec="";
return ""; return "";
} }
else if (cd) // resolves to a known class type else if (cd) // resolves to a known class type
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment