1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Fixed unused variable warning.

(This used to be commit cdbe47a5d5)
This commit is contained in:
Tim Potter 2003-05-27 07:26:04 +00:00
parent 3ddaeed282
commit 797add4a73

View File

@ -1428,7 +1428,6 @@ 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;
@ -1470,6 +1469,8 @@ void smb_panic(const char *why)
DEBUG(0, ("BACKTRACE: %d stack frames:\n", backtrace_size));
if (backtrace_strings) {
int i;
for (i = 0; i < backtrace_size; i++)
DEBUGADD(0, (" #%u %s\n", i, backtrace_strings[i]));