summaryrefslogtreecommitdiffstats
path: root/src/defgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/defgen.cpp')
-rw-r--r--src/defgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defgen.cpp b/src/defgen.cpp
index 2fd358e..4c52150 100644
--- a/src/defgen.cpp
+++ b/src/defgen.cpp
@@ -479,7 +479,7 @@ void generateDEFSection(Definition *d,
MemberList *ml,
const char *kind)
{
- if (ml->count()>0)
+ if (ml && ml->count()>0)
{
t << " " << kind << " = {" << endl;
MemberListIterator mli(*ml);