mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 04:39:01 +00:00
userfs_main.c:547:7: warning: variable 'ret' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (*relpath == '\0')
^~~~~~~~~~~~~~~~
userfs_main.c:564:10: note: uninitialized use occurs here
return ret;
^~~
userfs_main.c:547:3: note: remove the 'if' if its condition is always false
if (*relpath == '\0')
^~~~~~~~~~~~~~~~~~~~~
userfs_main.c:543:10: note: initialize the variable 'ret' to silence this warning
int ret;
^
= 0
test_motor.c:1068:14: warning: explicitly assigning value of variable of type 'float' to itself [-Wself-assign]
expected_e = expected_e;
~~~~~~~~~~ ^ ~~~~~~~~~~
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| dsptest.h | ||
| dsptest_main.c | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||
| test_foc.c | ||
| test_misc.c | ||
| test_motor.c | ||
| test_observer.c | ||
| test_pid.c | ||
| test_svm.c | ||
| test_transform.c | ||