Commit Graph

6 Commits

Author SHA1 Message Date
Gregory Nutt
f95d753759 Fix warnings noted in PR build checks.
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;
      ~~~~~~~~~~ ^ ~~~~~~~~~~
2020-04-12 19:17:49 +01:00
raiden00pl
dd95e35787 examples/dsptest: fix nxstyle issues 2020-04-03 22:23:23 +01:00
Xiang Xiao
41d88f06e7 Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
Xiang Xiao
d660492289 Run codespell -w against all files
and fix the wrong correction
2020-02-22 14:41:36 -06:00
Nathan Hartman
b2a3ba57ff Fix typos 2019-09-11 08:59:08 -06:00
Mateusz Szafoni
e66470df68 Merged in raiden00/apps (pull request #143)
initial commit for examples/dsptest - unit test for Nuttx DSP library

Approved-by: GregoryN <gnutt@nuttx.org>
2018-07-07 17:09:43 +00:00