Fix C89_BUILD

This commit is contained in:
twinaphex 2017-01-30 19:32:02 +01:00
parent 216e45f9ea
commit 22dfa1ca7c

View File

@ -150,15 +150,14 @@ int rwav_iterate(rwav_iterator_t *iter)
int rwav_load(rwav_t* out, const void* buf, size_t size)
{
int res;
rwav_iterator_t iter = {};
rwav_iterator_t iter = {0};
rwav_init(&iter, out, buf, size);
do
{
res = rwav_iterate(&iter);
}
while (res == RWAV_ITERATE_MORE);
}while (res == RWAV_ITERATE_MORE);
return res;
}