libAppleWM: Changes to 'master'

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Sun Dec 29 11:27:32 PST 2013


 src/applewm.c |   42 ++++++++++++++++++++++--------------------
 1 file changed, 22 insertions(+), 20 deletions(-)

New commits:
commit 3d8ec68e374a26f614e1715a1c2de653dd9b9eaf
Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date:   Sun Dec 29 11:26:00 2013 -0800

    Silence clang static analysis warning by handling call to set 0 menu items better
    
    applewm.c:273:21: warning: Call to 'alloca' has an allocation size of 0 bytes
            ptr = buf = alloca (total_length);
                        ^~~~~~~~~~~~~~~~~~~~~
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>

commit 1da35290c973aa725d69f89870a139bd06f11c78
Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date:   Sun Dec 29 11:05:48 2013 -0800

    Silence const warning
    
    applewm.c:47:14: warning: initializing 'char *' with an expression of type 'const char [9]' discards qualifiers
          [-Wincompatible-pointer-types-discards-qualifiers]
    static char *applewm_extension_name = APPLEWMNAME;
                 ^                        ~~~~~~~~~~~
    1 warning generated.
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>



More information about the xorg-commit mailing list