Commit 016dcb80 authored by Rusty Russell's avatar Rusty Russell

foreach: remove unused var warning.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent bd9ff087
......@@ -144,10 +144,8 @@ int _foreach_intval_next(const void *i, int val, ...)
void *_foreach_ptrval_init(const void *i, const void *val, ...)
{
struct iter_info *info;
free_old_iters(i);
info = new_iter(i);
new_iter(i);
return (void *)val;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment