r300/compiler: fix a warning that a variable may be uninitialized

This commit is contained in:
Marek Olšák 2011-07-15 20:25:38 +02:00
parent 2f02c2fe56
commit 2ce6c3ea6e

View file

@ -687,7 +687,7 @@ static void get_readers_for_single_write(
struct rc_instruction * tmp; struct rc_instruction * tmp;
unsigned int branch_depth = 0; unsigned int branch_depth = 0;
struct rc_instruction * endloop = NULL; 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; struct get_readers_callback_data * d = userdata;
d->ReaderData->Writer = writer; d->ReaderData->Writer = writer;