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:
Timo R 2014-07-10 01:11:10 +02:00 committed by Palana
parent a53c75f67e
commit 85fd6863e2

View File

@ -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;