From: Vinson Lee Date: Sat, 4 Dec 2010 08:53:44 +0000 (-0800) Subject: st/vega: Silence uninitialized variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8aa4cd0e503820e545cceeaa2357d670b948db27;p=mesa.git st/vega: Silence uninitialized variable warning. Fixes this GCC warning. api_filters.c: In function 'execute_filter': api_filters.c:184: warning: 'tex_wrap' may be used uninitialized in this function --- diff --git a/src/gallium/state_trackers/vega/api_filters.c b/src/gallium/state_trackers/vega/api_filters.c index 95f900f4a93..724e38241b5 100644 --- a/src/gallium/state_trackers/vega/api_filters.c +++ b/src/gallium/state_trackers/vega/api_filters.c @@ -207,6 +207,7 @@ static void execute_filter(struct vg_context *ctx, break; default: debug_assert(!"Unknown tiling mode"); + tex_wrap = 0; break; }