diff options
author | Thomas Huehn <thomas.huehn@hs-nordhausen.de> | 2021-09-28 01:59:39 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2022-02-19 11:39:06 +0100 |
commit | 51283f9f1df5dedcba35f40367ef5d4ab1a55e0b (patch) | |
tree | 70e88d78bbd701eee3063eef2ccd9468684e214c /cgi.c | |
parent | 2f8b1360df25bab375ec60bbba2dce8dd796161c (diff) |
fix compiler uninitialized variable
In file included from ubus.c:20:
ubus.c: In function 'uh_ubus_list_cb':
libubox/blobmsg.h:256:9: error: 'o' may be used uninitialized in this function [-Werror=maybe-uninitialized]
256 | blob_nest_end(buf, cookie);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ubus.c:591:19: note: 'o' was declared here
591 | void *t, *o;
| ^
cc1: all warnings being treated as errors
Signed-off-by: Thomas Huehn <thomas.huehn@hs-nordhausen.de>
Acked-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'cgi.c')
0 files changed, 0 insertions, 0 deletions