summaryrefslogtreecommitdiff
path: root/src/util/configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/configuration.cpp')
-rw-r--r--src/util/configuration.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/configuration.cpp b/src/util/configuration.cpp
index 062aca478..7225b8108 100644
--- a/src/util/configuration.cpp
+++ b/src/util/configuration.cpp
@@ -137,7 +137,8 @@ char const* const* Configuration::getDebugTags() {
#if CVC4_DEBUG
return Debug_tags;
#else /* CVC4_DEBUG */
- return NULL;
+ static char const* no_tags[] = { NULL };
+ return no_tags;
#endif /* CVC4_DEBUG */
}
@@ -153,7 +154,8 @@ char const* const* Configuration::getTraceTags() {
#if CVC4_TRACING
return Trace_tags;
#else /* CVC4_TRACING */
- return NULL;
+ static char const* no_tags[] = { NULL };
+ return no_tags;
#endif /* CVC4_TRACING */
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback