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

Compile warning fix & header file adjust #14123

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

GUIDINGLI
Copy link
Contributor

Summary

Compile warning fix & header file adjust

  1. mm.h: remove depends on addrenv.h
  2. assert: add header files to resolve compile failed
  3. sched: fix warning
    sched/sched_sysinfo.c:55:19: warning: unused variable 'minfo' [-Wunused-variable]
    55 | struct mallinfo minfo;

Impact

compile

Testing

CI

@github-actions github-actions bot added Area: Memory Management Memory Management issues Area: OS Components OS Components issues Size: XS The size of the change in this PR is very small labels Oct 11, 2024
sched/sched_sysinfo.c:55:19: warning: unused variable 'minfo' [-Wunused-variable]
   55 |   struct mallinfo minfo;
      |                   ^~~~~

Signed-off-by: ligd <liguiding1@xiaomi.com>
error: 'NULL' undecleard

Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Memory Management Memory Management issues Area: OS Components OS Components issues Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant