ucode: pass-through `ubus_rpc_session` argument
[project/rpcd.git] / iwinfo.c
index 6c0319e5c7fe46b03dd7aebb15c31b7e0d694a02..38484c803a00f931eddd5a67a2e48dc4e9f16ea5 100644 (file)
--- a/iwinfo.c
+++ b/iwinfo.c
@@ -561,7 +561,7 @@ rpc_iwinfo_assoclist(struct ubus_context *ctx, struct ubus_object *obj,
        char res[IWINFO_BUFSIZE];
        struct iwinfo_assoclist_entry *a;
        struct ether_addr *macaddr = NULL;
-       void *c, *d, *e;
+       void *c = NULL, *d, *e;
        struct blob_attr *tb[__RPC_A_MAX];
        bool found = false;