mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-15 07:20:19 +01:00
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 <vlee@freedesktop.org> Reviewed-by: José Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
eeff1ee746
commit
6fe133889c
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue