Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warning and depends of examples/sotest #2576

Merged
merged 2 commits into from
Sep 18, 2024

Commits on Sep 17, 2024

  1. module/sotest: Fix depends of SOTEST_BUILTINFS

    Log:
      sotest_main.c: In function 'sotest_main':
      sotest_main.c:116:29: error: storage size of 'desc' isn't known
        116 |   struct boardioc_romdisk_s desc;
            |                             ^~~~
      sotest_main.c:116:29: error: unused variable 'desc' [-Werror=unused-variable]
      cc1: all warnings being treated as errors
    
    Signed-off-by: wangjianyu3 <[email protected]>
    JianyuWang0623 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    c7418f1 View commit details
    Browse the repository at this point in the history
  2. examples/sotest: Fix warning of unused variable 'devname'

    Config:
      +CONFIG_EXAMPLES_SOTEST=y
      +CONFIG_EXAMPLES_SOTEST_BINDIR="/data"
    Log:
      sotest_main.c: In function 'sotest_main':
      sotest_main.c:105:8: error: unused variable 'devname' [-Werror=unused-variable]
        105 |   char devname[32];
            |        ^~~~~~~
    
    Signed-off-by: wangjianyu3 <[email protected]>
    JianyuWang0623 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    f876f3b View commit details
    Browse the repository at this point in the history