summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-07-23 15:10:07 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-07-23 15:10:07 +0800
commit6ac352f146bafe3b4bb5832340eb0ccb730565d2 (patch)
tree4b7a6300a226ace25e69bb3de90a5ab0ad2000c1
parent075cf7fce57da4e51acafb3bfd3d61ba1a8096d5 (diff)
shut up gcc warning
-rw-r--r--src/i965_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_render.c b/src/i965_render.c
index 1cbfe242..8360be4a 100644
--- a/src/i965_render.c
+++ b/src/i965_render.c
@@ -862,7 +862,7 @@ i965_set_picture_surface_state(ScrnInfoPtr pScrn, struct brw_surface_state *ss,
memset(&local_ss, 0, sizeof(local_ss));
local_ss.ss0.surface_type = BRW_SURFACE_2D;
if (is_dst) {
- uint32_t dst_format;
+ uint32_t dst_format = 0;
Bool ret = TRUE;
ret = i965_get_dest_format(pPicture, &dst_format);