developer | 2bf53a9 | 2022-06-06 12:08:58 +0800 | [diff] [blame] | 1 | diff --git a/src/lib/inet/src/inet_base.c b/src/lib/inet/src/inet_base.c |
| 2 | index a93cefc..db66cf2 100644 |
| 3 | --- a/src/lib/inet/src/inet_base.c |
| 4 | +++ b/src/lib/inet/src/inet_base.c |
| 5 | @@ -1080,7 +1080,7 @@ bool inet_base_dhcpc_option_set(inet_t *super, enum osn_dhcp_option opt, const c |
| 6 | { |
| 7 | inet_base_t *self = (void *)super; |
| 8 | bool _req; |
| 9 | - const char *_value; |
| 10 | + const char *_value=NULL; |
| 11 | |
| 12 | if (!osn_dhcp_client_opt_get(self->in_dhcpc, opt, &_req, &_value)) |
| 13 | { |