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:
parent
0e8e5881d8
commit
2a73bd6cbf
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user