diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-07-03 17:43:17 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-07-03 17:43:17 (GMT) |
commit | adb81f79061729efc28e71c1474c35e21283b049 (patch) | |
tree | d1720b58a91abcbfb70196c277ad3b7a11da8263 /src/memberdef.cpp | |
parent | 9b28530018c59ce65519f49e8095ecd58b082c87 (diff) | |
download | Doxygen-adb81f79061729efc28e71c1474c35e21283b049.zip Doxygen-adb81f79061729efc28e71c1474c35e21283b049.tar.gz Doxygen-adb81f79061729efc28e71c1474c35e21283b049.tar.bz2 |
Release-1.1.5
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp index f08a858..2980a73 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -445,8 +445,9 @@ void MemberDef::setMemberDefTemplateArguments(ArgumentList *tal) void MemberDef::writeLink(OutputList &ol,ClassDef *cd,NamespaceDef *nd, FileDef *fd,GroupDef *gd) { - Definition *d; + Definition *d=0; if (cd) d=cd; else if (nd) d=nd; else if (fd) d=fd; else if (gd) d=gd; + if (d==0) return; ol.writeObjectLink(d->getReference(),d->getOutputFileBase(),anchor(),name()); } |