pbobench: Fix sometimes-uninitialized warning.
pbobench.c:281:25: warning: variable 'r32f' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized]
for (unsigned i = 0; i < ARRAY_SIZE(format_es); i++) {
^~~~~~~~~~~~~~~~~~~~~~~~~
pbobench.c:287:11: note: uninitialized use occurs here
assert(r32f);
^~~~
/usr/include/assert.h:109:11: note: expanded from macro 'assert'
if (expr)
^~~~
pbobench.c:281:25: note: remove the condition if it is always true
for (unsigned i = 0; i < ARRAY_SIZE(format_es); i++) {
^~~~~~~~~~~~~~~~~~~~~~~~~
pbobench.c:279:22: note: initialize the variable 'r32f' to silence this warning
const Format *r32f;
^
= NULL
Fixes: cfc7444d ("add pbobench: a benchmark for pbo functions") Signed-off-by: Vinson Lee vlee@freedesktop.org