projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
369669f
)
rbug: Initialize variable in rbug_get_message.
author
Vinson Lee
<vlee@vmware.com>
Tue, 8 Dec 2009 08:26:37 +0000
(
00:26
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 8 Dec 2009 08:28:50 +0000
(
00:28
-0800)
Silences uninitialized variable warning.
src/gallium/auxiliary/rbug/rbug_connection.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/rbug/rbug_connection.c
b/src/gallium/auxiliary/rbug/rbug_connection.c
index
52acb70
..
ae4e27f
100644
(file)
--- a/
src/gallium/auxiliary/rbug/rbug_connection.c
+++ b/
src/gallium/auxiliary/rbug/rbug_connection.c
@@
-87,6
+87,7
@@
rbug_get_message(struct rbug_connection *c, uint32_t *serial)
if (!data) {
return NULL;
}
+ data->opcode = 0;
do {
uint8_t *ptr = ((uint8_t*)data) + read;