Move backTraceState variable inside #ifdef WITH_BACKTRACE.
This variable is only used when WITH_BACKTRACE is defined so there's no need to declare it otherwise.
@@ -47,11 +47,11 @@ Buffer to hold function parameters
***********************************************************************************************************************************/
static char functionParamBuffer[32 * 1024];
-struct backtrace_state *backTraceState = NULL;
-
/**********************************************************************************************************************************/
#ifdef WITH_BACKTRACE
+struct backtrace_state *backTraceState = NULL;
+
void
stackTraceInit(const char *exe)
{
