diff options
author | Vinson Lee <vlee@freedesktop.org> | 2015-03-03 17:41:17 -0800 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2015-03-24 23:04:41 -0700 |
commit | 42c3df3319fc18eb1899d41396aa58f22e787aaf (patch) | |
tree | 68c4a491a250d435b40785132b5ba12de8915196 | |
parent | 355fa0a40e9b83ce53f1b0c0a15962b1d77e1ed4 (diff) |
arb_direct_state_access: Remove unused variables.
Fix Clang unused-const-variable warnings.
gettransformfeedback.c:84:22: warning: unused variable 'out1_ret' [-Wunused-const-variable]
static const GLfloat out1_ret[NUM_INPUTS] = { 0.0, 1.0, 2.0, 4.0};
^
gettransformfeedback.c:85:22: warning: unused variable 'out2_ret' [-Wunused-const-variable]
static const GLfloat out2_ret[NUM_INPUTS] = {-2.0, 0.0, 2.0, 6.0};
^
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r-- | tests/spec/arb_direct_state_access/gettransformfeedback.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/spec/arb_direct_state_access/gettransformfeedback.c b/tests/spec/arb_direct_state_access/gettransformfeedback.c index dafc2356e..8ea69bfb6 100644 --- a/tests/spec/arb_direct_state_access/gettransformfeedback.c +++ b/tests/spec/arb_direct_state_access/gettransformfeedback.c @@ -81,8 +81,6 @@ static const char *vstext = { #define NUM_INPUTS 4 static const GLfloat inputs[NUM_INPUTS] = {-1.0, 0.0, 1.0, 3.0}; -static const GLfloat out1_ret[NUM_INPUTS] = { 0.0, 1.0, 2.0, 4.0}; -static const GLfloat out2_ret[NUM_INPUTS] = {-2.0, 0.0, 2.0, 6.0}; struct context_t { struct tbo_state_t { |