viewres: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Sep 14 19:26:57 UTC 2022


 .git-blame-ignore-revs |   16 ++++++++++++++++
 viewres.c              |    3 ++-
 2 files changed, 18 insertions(+), 1 deletion(-)

New commits:
commit 04afb2de50ff3f7d074299a83f70ba779502eac6
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Sep 10 14:26:28 2022 -0700

    Add .git-blame-ignore-revs to hide whitespace commits from git blame
    
    To use this in your local repo clone, you will need to either run
    `git blame --ignore-revs-file .git-blame-ignore-revs`
    or set it permanently with
    `git config blame.ignoreRevsFile .git-blame-ignore-revs`
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 7c75ce13299af68b73563714ca366f891f6a9eb8
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Sep 10 14:13:58 2022 -0700

    set_node_labels: move dereference of node to after the NULL check
    
    Found by cppcheck:
    
    viewres.c:815:22: warning: Either the condition '!node' is redundant or there is possible null pointer dereference: node. [nullPointerRedundantCheck]
        ViewresData *d = VData(node);
                         ^
    viewres.c:817:9: note: Assuming that condition '!node' is not redundant
        if (!node)
            ^
    viewres.c:815:22: note: Null pointer dereference
        ViewresData *d = VData(node);
                         ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list