X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubox.git;a=blobdiff_plain;f=log%2Flogd.c;h=915348e3bce0b27086855e20022727aae5bd7b2f;hp=d778909e9093a7db3610cbee9d7210c08bce52b1;hb=db070f15ac559e3bd406cb8b8cccf40f78e75094;hpb=acc48b553adfbdba77a5fa19e11bf7d69c65d596 diff --git a/log/logd.c b/log/logd.c index d778909..915348e 100644 --- a/log/logd.c +++ b/log/logd.c @@ -84,7 +84,7 @@ read_log(struct ubus_context *ctx, struct ubus_object *obj, struct blob_attr *msg) { struct client *cl; - struct blob_attr *tb[__READ_MAX]; + struct blob_attr *tb[__READ_MAX] = { 0 }; struct log_head *l; int count = 0; int fds[2];