File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2845,7 +2845,7 @@ static bool getLinkInScope(yyscan_t yyscanner,
28452845 }
28462846 }
28472847 }
2848- if (result.found && (!varOnly || result.md ->isVariable ()))
2848+ if (result.found && result. md && (!varOnly || result.md ->isVariable ()))
28492849 {
28502850 if (result.md ->isLinkable ())
28512851 {
Original file line number Diff line number Diff line change @@ -1174,7 +1174,7 @@ static bool getLinkInScope(yyscan_t yyscanner,
11741174 input.insideCode = true ;
11751175 GetDefResult result = getDefs(input);
11761176 // printf("Trying '%s'::'%s'\n",qPrint(c),qPrint(m));
1177- if (result.found && result.md->isLinkable ())
1177+ if (result.found && result.md && result.md ->isLinkable ())
11781178 {
11791179 const Definition *d = result.md ->getOuterScope ()==Doxygen::globalScope ?
11801180 result.md ->getBodyDef () : result.md ->getOuterScope ();
You can’t perform that action at this time.
0 commit comments