From 5c447fa50ecd4fe7f971b1e6deb8908e98afa61b Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Wed, 23 Jul 2008 15:10:07 +0800 Subject: shut up gcc warning (cherry picked from commit 6ac352f146bafe3b4bb5832340eb0ccb730565d2) --- src/i965_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3