Skip to content
Snippets Groups Projects
Commit 7f8e22aa authored by Vinson Lee's avatar Vinson Lee
Browse files

rbug: Initialize variable in rbug_get_message.

Silences uninitialized variable warning.
parent 369669ff
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment