Skip to content
New issue

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

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

Already on GitHub? # to your account

Compile errors with clang #15

Open
uebayasi opened this issue Jan 30, 2016 · 0 comments
Open

Compile errors with clang #15

uebayasi opened this issue Jan 30, 2016 · 0 comments

Comments

@uebayasi
Copy link
Owner

Reported by jsg@:

../../../../dev/ipmi.c:750:2: warning: Value stored to 'v' is never read
        v = bmc_read(sc, _KCS_STATUS_REGISTER);
        ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../dev/ipmi.c:1143:24: warning: The right operand of '+' is a garbage value
        sdrlen = sizeof(shdr) + shdr.record_length;
                              ^ ~~~~~~~~~~~~~~~~~~
../../../../dev/ipmi.c:1814:3: warning: Value stored to 'rc' is never read
                rc = copyout(&ccode, recv->msg.data, 1);      
                ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant