appres: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jun 2 01:38:29 UTC 2019


 appres.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 73e835828184af9230db2176579a4ff74da7785b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jun 1 18:33:51 2019 -0700

    Use _CONST_X_STRING to make libXt declare String as const char *
    
    Clears gcc 7.3 warnings of:
    
    appres.c: In function ‘main’:
    appres.c:36:16: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     #define NONAME "-AppResTest-"
                    ^
    appres.c:126:20: note: in expansion of macro ‘NONAME’
         String iname = NONAME, cname = NONAME;
                        ^~~~~~
    appres.c:36:16: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     #define NONAME "-AppResTest-"
                    ^
    appres.c:126:36: note: in expansion of macro ‘NONAME’
         String iname = NONAME, cname = NONAME;
                                        ^~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list