git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7345bca
)
Fix unused variable warning.
author
Tim Potter
<tpot@samba.org>
Tue, 27 May 2003 07:26:55 +0000
(07:26 +0000)
committer
Tim Potter
<tpot@samba.org>
Tue, 27 May 2003 07:26:55 +0000
(07:26 +0000)
source/lib/util.c
patch
|
blob
|
history
diff --git
a/source/lib/util.c
b/source/lib/util.c
index e58f5274df5069a93b8621e916c14c94868e1d1f..e1ddd5788399780e3a67c474b90dc44a48424792 100644
(file)
--- a/
source/lib/util.c
+++ b/
source/lib/util.c
@@
-1415,7
+1415,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;
@@
-1457,6
+1456,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]));