From af6708144630678ada8684bb77228ccc2056cb56 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 8 Dec 2010 12:39:13 +0000 Subject: * vm_dump.c (rb_vm_bugreport): suppress a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_dump.c') diff --git a/vm_dump.c b/vm_dump.c index fd8f9e50c9..741b4adc89 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -796,12 +796,12 @@ rb_vm_bugreport(void) static void *trace[MAX_NATIVE_TRACE]; int n = backtrace(trace, MAX_NATIVE_TRACE); char **syms = backtrace_symbols(trace, n); - int i; if (syms) { #ifdef __ELF__ rb_dump_backtrace_with_lines(n, trace, syms); #else + int i; for (i=0; i