From: Marek Olšák Date: Fri, 15 Jul 2011 18:25:38 +0000 (+0200) Subject: r300/compiler: fix a warning that a variable may be uninitialized X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ce6c3ea6e66a708aefba36358fa43f2f312c42f;p=mesa.git r300/compiler: fix a warning that a variable may be uninitialized --- diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c b/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c index b0deb751be0..a8decacedaf 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c @@ -687,7 +687,7 @@ static void get_readers_for_single_write( struct rc_instruction * tmp; unsigned int branch_depth = 0; struct rc_instruction * endloop = NULL; - unsigned int abort_on_read_at_endloop; + unsigned int abort_on_read_at_endloop = 0; struct get_readers_callback_data * d = userdata; d->ReaderData->Writer = writer;