perf probe: Annotate variable initialization
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 3 Nov 2009 13:29:07 +0000 (11:29 -0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 3 Nov 2009 15:51:28 +0000 (16:51 +0100)
commit12e4db4790b1bd2b7ec70eb2a1386c00fc683740
treea2d75943fdf3979e4247fd51795cd8d2a2a0e2a4
parentb0ef07324310d66f660a311d4a8d669eda74f801
perf probe: Annotate variable initialization

Annotate away this false positive warning on older GCCs:

    cc1: warnings being treated as errors
    builtin-probe.c: In function ‘parse_probe_event’:
    builtin-probe.c:72: warning: ‘nc’ is used uninitialized in this function

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
LKML-Reference: <1257254947-16789-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-probe.c