summaryrefslogtreecommitdiff
path: root/debug_counter.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug_counter.c')
-rw-r--r--debug_counter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/debug_counter.c b/debug_counter.c
index e7b0bb0acd..cc522283a1 100644
--- a/debug_counter.c
+++ b/debug_counter.c
@@ -17,7 +17,9 @@
#if USE_DEBUG_COUNTER
static const char *const debug_counter_names[] = {
- ""
+#define DEBUG_COUNTER_NAME_EMPTY "" /* Suppress -Wstring-concatenation */
+ DEBUG_COUNTER_NAME_EMPTY
+#undef DEBUG_COUNTER_NAME_EMPTY
#define RB_DEBUG_COUNTER(name) #name,
#include "debug_counter.h"
#undef RB_DEBUG_COUNTER