projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3132591
)
st/vega: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Sat, 4 Dec 2010 08:53:44 +0000
(
00:53
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 4 Dec 2010 08:53:44 +0000
(
00:53
-0800)
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
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/vega/api_filters.c
b/src/gallium/state_trackers/vega/api_filters.c
index 95f900f4a93e96d9d370fb8f746b489bf3a502b2..724e38241b52232a49459d92dd5268683a3eeaa4 100644
(file)
--- 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;
}