libXp: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jul 17 23:58:04 UTC 2022


 src/XpExtVer.c    |    7 -------
 src/XpNotifyPdm.c |    2 +-
 2 files changed, 1 insertion(+), 8 deletions(-)

New commits:
commit 8ca076471e89d4a2a4b2f9b48873855c6c981b83
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 17 16:52:08 2022 -0700

    XpExtVer.c: fix -Wredundant-decls warning
    
    XpExtVer.c:67:12: warning: redundant redeclaration of ‘XpCheckExtInitUnlocked’ [-Wredundant-decls]
       67 | extern int XpCheckExtInitUnlocked(
          |            ^~~~~~~~~~~~~~~~~~~~~~
    In file included from XpExtVer.c:44:
    XpExtUtil.h:42:12: note: previous declaration of ‘XpCheckExtInitUnlocked’ with type ‘int(Display *, int)’
       42 | extern int XpCheckExtInitUnlocked(
          |            ^~~~~~~~~~~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit d8086f474c8d2d60180968d1295dd1a55d465920
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 17 16:50:18 2022 -0700

    XpNotifyPdm.c: fix -Wmisleading-indentation warning
    
    XpNotifyPdm.c: In function ‘_XpGetSelectionServer’:
    XpNotifyPdm.c:191:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
      191 |         if ( (selectionstr = getenv( ALT_PDM_SELECTION_ENV_VAR )) == NULL )
          |         ^~
    XpNotifyPdm.c:194:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
      194 |             *sel_atom = XInternAtom( sel_display, selectionstr, False );
          |             ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list