Fix missing initialization
Found by compiling with gcc 4.8, which shows a warning for use in the inlined function called in that function. Closes #155
This commit is contained in:
parent
a53c75f67e
commit
85fd6863e2
@ -181,7 +181,7 @@ bool calldata_getdata(calldata_t data, const char *name, void *out, size_t size)
|
||||
void calldata_setdata(calldata_t data, const char *name, const void *in,
|
||||
size_t size)
|
||||
{
|
||||
uint8_t *pos;
|
||||
uint8_t *pos = NULL;
|
||||
|
||||
if (!data || !name || !*name)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user