cfg is only used inside for loop so also move declaration there.
Fixes "Unused pointer value" defect reported by Coverity.
Signed-off-by: Vinson Lee
---
src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/gallium/drivers/nouve
cfg is only used inside for loop so also move declaration there.
Fixes "Unused pointer value" defect reported by Coverity.
Signed-off-by: Vinson Lee
---
src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/gallium/drivers/nouve
cfg is only used inside for loop so also move declaration there.
Fixes "Unused pointer value" defect reported by Coverity.
Signed-off-by: Vinson Lee
---
src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/gallium/drivers/nouve