mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-07-07 12:21:00 +08: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; ~~~~~~~~~~ ^ ~~~~~~~~~~