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

Remove redundant code #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Remove redundant code #141

wants to merge 1 commit into from

Commits on Jul 29, 2020

  1. Remove redundant code

    Found by clang-check.
    (the last one looks like a false-positive to me)
    
    parson.c:995:17: warning: Value stored to 'buf' is never read
                    buf += written;
                    ^      ~~~~~~~
    parson.c:1016:17: warning: Value stored to 'buf' is never read
                    buf += written;
                    ^      ~~~~~~~
    parson.c:1834:24: warning: Array access (via field 'names') results in a null pointer dereference
                if (strcmp(object->names[i], name) == 0) {
                           ^~~~~~~~~~~~~~~~
    3 warnings generated.
    yamt committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    ec00fea View commit details
    Browse the repository at this point in the history