diff options
author | Vinson Lee <[email protected]> | 2009-12-08 00:26:37 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-08 00:28:50 -0800 |
commit | 7f8e22aa29b7340d51b1f2e16d55a035c0f9b851 (patch) | |
tree | acd32b406d34c6ebbf3f3335329573c64b476a79 /src | |
parent | 369669ff9a7ff7636cadef8e2b13f2f28face98f (diff) |
rbug: Initialize variable in rbug_get_message.
Silences uninitialized variable warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/rbug/rbug_connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/rbug/rbug_connection.c b/src/gallium/auxiliary/rbug/rbug_connection.c index 52acb700af9..ae4e27f9f6b 100644 --- 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; |