diff options
author | Tim Potter <tpot@samba.org> | 2003-05-27 07:26:55 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-05-27 07:26:55 +0000 |
commit | bdef2e8eb889d059d855a647eb8fb6648438ba1f (patch) | |
tree | fa29a784f93ef56c90543d75c2adc2f01bede9db /source3 | |
parent | aa24267f1c7dafbcddd659a7976bcc66d64024f6 (diff) | |
download | samba-bdef2e8eb889d059d855a647eb8fb6648438ba1f.tar.gz samba-bdef2e8eb889d059d855a647eb8fb6648438ba1f.tar.bz2 samba-bdef2e8eb889d059d855a647eb8fb6648438ba1f.zip |
Fix unused variable warning.
(This used to be commit 0a80db5bde14e19d79411d832d51430d1b1c3454)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index e58f5274df..e1ddd57883 100644 --- a/source3/lib/util.c +++ b/source3/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])); |