1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

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.
This commit is contained in:
David Steele 2020-08-21 11:45:54 -04:00
parent 0e8e5881d8
commit 2a73bd6cbf

View File

@ -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)
{