coffee809721232 commented on a change in pull request #958: URL: https://github.com/apache/incubator-nuttx-apps/pull/958#discussion_r778636018
########## File path: netutils/dhcpc/dhcpc.c ########## @@ -458,6 +458,7 @@ static void *dhcpc_run(void *args) struct dhcpc_state result; int ret; + memset(&result, 0, sizeof(result)); Review comment: > If so, should we move into while block to handle the fail in no first loop? Yes, updated -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org