From 23e39ee5f5610c62de29c83b67716e3a19675e09 Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 7 Mar 2024 15:35:12 -0500 Subject: [PATCH] DUMPLOG_MSG_COUNT depends on DUMPLOG_CORE for its definition --- src/report.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/report.c b/src/report.c index fce7dc956..8ddfa20da 100644 --- a/src/report.c +++ b/src/report.c @@ -539,6 +539,7 @@ NH_panictrace_gdb(void) const char * get_saved_pline(int lineno) { +#ifdef DUMPLOG_CORE int p; int limit = DUMPLOG_MSG_COUNT; if (lineno >= DUMPLOG_MSG_COUNT) @@ -554,6 +555,7 @@ get_saved_pline(int lineno) } } } +#endif /* DUMPLOG_CORE */ return NULL; }