diff options
author | Vinson Lee <[email protected]> | 2012-01-15 23:33:16 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2012-01-16 12:44:06 -0800 |
commit | 6fe133889cc0305eb08775b56fe8d95d970b341b (patch) | |
tree | 675e13b195fa22dd0a7f6ff38c3f8147bd13d882 /src/gallium/drivers/llvmpipe | |
parent | eeff1ee7466d5de7764bcd7ad4d7be4d76aa738c (diff) |
llvmpipe: Remove unused variable 'packed' from lp_test_round.
Fix this GCC warning.
lp_test_round.c: In function ‘test_round’:
lp_test_round.c:126:13: warning: variable ‘packed’ set but not used
[-Wunused-but-set-variable]
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_test_round.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_test_round.c b/src/gallium/drivers/llvmpipe/lp_test_round.c index 4edee4af123..8adb25970f2 100644 --- a/src/gallium/drivers/llvmpipe/lp_test_round.c +++ b/src/gallium/drivers/llvmpipe/lp_test_round.c @@ -123,7 +123,6 @@ test_round(struct gallivm_state *gallivm, unsigned verbose, FILE *fp) char *error = NULL; test_round_t round_func, trunc_func, floor_func, ceil_func; float unpacked[4]; - unsigned packed; boolean success = TRUE; int i; @@ -145,7 +144,6 @@ test_round(struct gallivm_state *gallivm, unsigned verbose, FILE *fp) ceil_func = (test_round_t) pointer_to_func(LLVMGetPointerToGlobal(engine, test_ceil)); memset(unpacked, 0, sizeof unpacked); - packed = 0; if (0) LLVMDumpModule(module); |