mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-08 08:08:25 +02:00
nvc0: Fix uninitialized variable warning.
Fixes this GCC warning. nvc0_tgsi_to_nc.c: In function 'bld_tex': nvc0_tgsi_to_nc.c:1392: warning: 'dim' may be used uninitialized in this function
This commit is contained in:
parent
b9e2cde600
commit
cd8af3b60b
1 changed files with 1 additions and 1 deletions
|
|
@ -1175,7 +1175,7 @@ static INLINE void
|
|||
describe_texture_target(unsigned target, int *dim,
|
||||
int *array, int *cube, int *shadow)
|
||||
{
|
||||
*array = *cube = *shadow = 0;
|
||||
*dim = *array = *cube = *shadow = 0;
|
||||
|
||||
switch (target) {
|
||||
case TGSI_TEXTURE_1D:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue