From b5fd86aee1258b1964d460c4ad138c59d49e7691 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 16 Apr 2003 14:51:02 +0000 Subject: Only declare backtrace variables when using them (This used to be commit 429b373453a04fa6871324dd0a3ff8a203c519f8) --- source3/lib/util.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/lib') diff --git a/source3/lib/util.c b/source3/lib/util.c index a392530786..a2d8d42cbe 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1401,9 +1401,11 @@ void smb_panic(const char *why) char *cmd; int result; size_t i; +#ifdef HAVE_BACKTRACE_SYMBOLS void *backtrace_stack[BACKTRACE_STACK_SIZE]; size_t backtrace_size; char **backtrace_strings; +#endif #ifdef DEVELOPER { -- cgit