projects
/
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 52acb700af9575cfc361695e53f6ba060ac0825c..ae4e27f9f6b99dd6b3122aa4d1e781f610ae2e21 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;