xkbutils: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Mon Dec 9 21:33:06 PST 2013


 xkbbell.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 05757e21b7b51d1f59137693f051b19742d28072
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Dec 8 13:08:40 2013 -0800

    XkbQueryExtension returns a Bool, don't use > 0 to check it
    
    We just want to know if XkbQueryExtension returned false, so ! is enough,
    don't need > 0 as well.
    
    Reported by cppcheck:
    [app/xkbutils/xkbbell.c:205]: (warning) Comparison of a boolean value
     using relational operator (<, >, <= or >=).
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-commit mailing list