trace: fix new gcc6 warnings
authorRob Clark <robdclark@gmail.com>
Tue, 16 Feb 2016 18:01:03 +0000 (13:01 -0500)
committerRob Clark <robclark@freedesktop.org>
Thu, 18 Feb 2016 22:10:55 +0000 (17:10 -0500)
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 <jakob@vmware.com>
Date:   Wed May 12 19:26:19 2010 +0100

    trace: Remove rbug from trace

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/trace/tr_context.c

index 46936c1b6b7851b1e78fe24b5cd70db74d8d1e03..0028377f9f5bcab48d813f6f009ed31e2e7cb1d4 100644 (file)
@@ -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)