From: Rob Clark Date: Tue, 16 Feb 2016 18:01:03 +0000 (-0500) Subject: trace: fix new gcc6 warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93c62fdee93062890c193b515f522375949dedc9;p=mesa.git trace: fix new gcc6 warnings src/gallium/drivers/trace/tr_context.c:1713:39: warning: ‘rbug_blocker_flags’ defined but not used [-Wunused-const-variable] static const struct debug_named_value rbug_blocker_flags[] = { ^~~~~~~~~~~~~~~~~~ Note that use of rbug_blocker_flags was removed in: commit 5494332128da0b2826e85df5eeaa878bb5c30a4e Author: Jakob Bornecrantz Date: Wed May 12 19:26:19 2010 +0100 trace: Remove rbug from trace Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c index 46936c1b6b7..0028377f9f5 100644 --- a/src/gallium/drivers/trace/tr_context.c +++ b/src/gallium/drivers/trace/tr_context.c @@ -1709,13 +1709,6 @@ static void trace_context_launch_grid(struct pipe_context *_pipe, trace_dump_call_end(); } - -static const struct debug_named_value rbug_blocker_flags[] = { - {"before", 1, NULL}, - {"after", 2, NULL}, - DEBUG_NAMED_VALUE_END -}; - struct pipe_context * trace_context_create(struct trace_screen *tr_scr, struct pipe_context *pipe)