tools lib traceevent: Add __maybe_unused to unused parameters
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 9 Nov 2012 18:18:57 +0000 (15:18 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 9 Nov 2012 20:34:39 +0000 (17:34 -0300)
commitca383a4df77a07e607123d7763facdc00ce32796
treeca1041bf9cf2b877fd384231936c6d1fcb7dd70a
parent411279658adf6a4f5bb25ec032a39ae905bcf234
tools lib traceevent: Add __maybe_unused to unused parameters

Fixing the build on 32-bit Fedora 14:

  tools/lib/traceevent/event-parse.c: In function ‘print_event_fields’:
  tools/lib/traceevent/event-parse.c:3934:69: error: unused parameter ‘size’
  tools/lib/traceevent/event-parse.c: In function ‘pevent_strerror’:
  tools/lib/traceevent/event-parse.c:5074:36: error: unused parameter ‘pevent’

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/n/tip-soe4gqcz8fd4ecik6exvyqox@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c