mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 11:40:10 +01:00
rbug: Initialize variable in rbug_get_message.
Silences uninitialized variable warning.
This commit is contained in:
parent
369669ff9a
commit
7f8e22aa29
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue