mesa: remove unused var
[mesa.git] / src / mesa / main / texfetch.c
index f4f2be48c373f3c9c015ccd952b1764a627cac01..b37039429f497408937f52bfef5bebf3bb2c686d 100644 (file)
@@ -570,7 +570,7 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
 static FetchTexelFuncF
 _mesa_get_texel_fetch_func(gl_format format, GLuint dims)
 {
-   FetchTexelFuncF f;
+   FetchTexelFuncF f = NULL;
    GLuint i;
    /* XXX replace loop with direct table lookup */
    for (i = 0; i < MESA_FORMAT_COUNT; i++) {