libX11: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Tue Dec 27 11:22:10 PST 2011


 src/util/makekeys.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 70505468b7c4a7068cc39be42e421dcee34ec595
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Tue Dec 13 19:58:30 2011 -0800

    makekeys: move buf declaration from global to main to silence gcc -Wshadow
    
    The global was only referenced in the main() function, which passes it
    as an argument of the same name to the parse_line() function, leading
    to gcc -Wshadow warnings:
    
    makekeys.c: In function ‘parse_line’:
    makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration
    makekeys.c:54:13: warning: shadowed declaration is here
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list