diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/doxygen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index b459a4b..05937fe 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -2446,7 +2446,7 @@ static bool isVarWithConstructor(const Entry *root) result=FALSE; goto done; } - else if (fd->name().right(2)==".c" || fd->name().right(2)==".h") + else if ((fd != nullptr) && (fd->name().right(2)==".c" || fd->name().right(2)==".h")) { // inside a .c file result=FALSE; goto done; |