diff options
author | Marek Olšák <[email protected]> | 2011-07-15 20:25:38 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-07-15 21:48:28 +0200 |
commit | 2ce6c3ea6e66a708aefba36358fa43f2f312c42f (patch) | |
tree | 0600733ec78a2a0949ec4b45eccea02ac68a6323 /src/mesa/drivers | |
parent | 2f02c2fe56bf69956912833d0a439f9693114bf5 (diff) |
r300/compiler: fix a warning that a variable may be uninitialized
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |