x86, perf probe: Fix warning in test_get_len()
authorJean Delvare <khali@linux-fr.org>
Sun, 6 Dec 2009 11:40:59 +0000 (12:40 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 6 Dec 2009 11:53:40 +0000 (12:53 +0100)
Fix the following warning:

 arch/x86/tools/test_get_len.c: In function "main":
 arch/x86/tools/test_get_len.c:116: warning: unused variable "c"

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/tools/test_get_len.c

index d8214dc03fa7a46e4dc2c9408b8674a13017e1e0..bee8d6ac2691769b127439afdf60582b4260563c 100644 (file)
@@ -113,7 +113,7 @@ int main(int argc, char **argv)
        char line[BUFSIZE], sym[BUFSIZE] = "<unknown>";
        unsigned char insn_buf[16];
        struct insn insn;
-       int insns = 0, c;
+       int insns = 0;
        int warnings = 0;
 
        parse_args(argc, argv);