mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 04:39:01 +00:00
cppcheck reports the following error: fsutils/ipcfg/ipcfg_binary.c:332:15: error: Uninitialized variable: fd [uninitvar] DEBUGASSERT(fd >= 0 && ipv6cfg != NULL); Update the DEBUGASSERT() to match that of ipcfg_read_binary_ipv4(). fd is uninitilized and doesn't need to be checked here. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi> |
||
|---|---|---|
| .. | ||
| ipcfg.c | ||
| ipcfg.h | ||
| ipcfg_binary.c | ||
| ipcfg_text.c | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||