From 8aa4cd0e503820e545cceeaa2357d670b948db27 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 4 Dec 2010 00:53:44 -0800 Subject: 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 --- src/gallium/state_trackers/vega/api_filters.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium') diff --git a/src/gallium/state_trackers/vega/api_filters.c b/src/gallium/state_trackers/vega/api_filters.c index 95f900f4a9..724e38241b 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; } -- cgit v1.2.3