From 93c62fdee93062890c193b515f522375949dedc9 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 16 Feb 2016 13:01:03 -0500 Subject: trace: fix new gcc6 warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/gallium/drivers/trace/tr_context.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/gallium/drivers/trace') 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) -- cgit v1.2.3