return new;
}
-static void notify1(char *p, enum tal_notify_type notify, void *info)
+static void notify1(char *p UNNEEDED, enum tal_notify_type notify, void *info)
{
ok1(ctx == ctx);
ok1(notify == expect);
notified1++;
}
-static void notify2(char *ctx, enum tal_notify_type notify, void *info)
+static void notify2(char *ctx UNNEEDED,
+ enum tal_notify_type notify UNNEEDED,
+ void *info UNNEEDED)
{
notified2++;
}
tal_del_notifier(new_ctx, resize_notifier);
tal_free(new_ctx);
+ tal_cleanup();
return exit_status();
}