projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f02c2f
)
r300/compiler: fix a warning that a variable may be uninitialized
author
Marek Olšák
<maraeo@gmail.com>
Fri, 15 Jul 2011 18:25:38 +0000
(20:25 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 15 Jul 2011 19:48:28 +0000
(21:48 +0200)
src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c
b/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c
index b0deb751be04f6ef3f04a65cbc2a87c82ef8c887..a8decacedaf0b8c92d7bfe91fe73000255cf4ae1 100644
(file)
--- 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;