shut up gcc warning

This commit is contained in:
Zhenyu Wang 2008-07-23 15:10:07 +08:00
parent 075cf7fce5
commit 6ac352f146
1 changed files with 1 additions and 1 deletions

View File

@ -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);