1. 13 Mar, 2017 25 commits
  2. 11 Mar, 2017 2 commits
  3. 10 Mar, 2017 13 commits
    • Mihai Moldovan's avatar
    • Ulrich Sibiller's avatar
      Xext: fix compiler warning · ee2a933c
      Ulrich Sibiller authored
      xf86bigfont.c: In function ‘ProcXF86BigfontQueryFont’:
      xf86bigfont.c:724:9: warning: ‘pDesc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
            if (!pDesc) free(pCI);
      ee2a933c
    • Ulrich Sibiller's avatar
      xfixes: fix compiler warning · e021bc23
      Ulrich Sibiller authored
      cursor.c: In function ‘TestForCursorName’:
      cursor.c:649:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
           return (pCursor->name == (Atom) closure);
                                    ^
      cursor.c: In function ‘ProcXFixesChangeCursorByName’:
      cursor.c:665:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        ReplaceCursor (pSource, TestForCursorName, (void *) name);
                                                   ^
      
      Backport of
      
         commit 019ad5acd20e34dc2aa3b89cc426138db5164c48
         Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
         Date:   Tue Feb 5 15:44:41 2008 -0500
      
             XFixes: squash a pointer/integer size mismatch warning.
      e021bc23
    • Ulrich Sibiller's avatar
      xfixes: fix compiler warnings · 914f78a2
      Ulrich Sibiller authored
      cursor.c: In function ‘ProcXFixesGetCursorName’:
      cursor.c:399:6: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
        str = NameForAtom (pCursor->name);
            ^
      cursor.c: In function ‘ProcXFixesGetCursorImageAndName’:
      cursor.c:453:10: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
           name = pCursor->name ? NameForAtom (pCursor->name) : "";
                ^
      914f78a2
    • Ulrich Sibiller's avatar
      render/filter.c: add missing return value · e79d3ac6
      Ulrich Sibiller authored
      Fixes
      
      filter.c: In function ‘SetPicturePictFilter’:
      filter.c:363:5: warning: ‘return’ with no value, in function returning non-void [enabled by default]
           return ;
           ^
      e79d3ac6
    • Ulrich Sibiller's avatar
      record.c: fix compiler warnings · a9d4a454
      Ulrich Sibiller authored
      record.c: In function ‘RecordAReply’:
      record.c:714:7: warning: passing argument 4 of ‘RecordAProtocolElement’ discards ‘const’ qualifier from pointer target type [enabled by default]
             pri->replyData, pri->dataLenBytes, /* continuation */ -1);
             ^
      record.c:286:1: note: expected ‘void *’ but argument is of type ‘const void *’
       RecordAProtocolElement(RecordContextPtr pContext, ClientPtr pClient,
       ^
      record.c:724:10: warning: passing argument 4 of ‘RecordAProtocolElement’ discards ‘const’ qualifier from pointer target type [enabled by default]
                pri->replyData, pri->dataLenBytes, pri->bytesRemaining);
                ^
      record.c:286:1: note: expected ‘void *’ but argument is of type ‘const void *’
       RecordAProtocolElement(RecordContextPtr pContext, ClientPtr pClient,
       ^
      record.c:746:5: warning: passing argument 4 of ‘RecordAProtocolElement’ discards ‘const’ qualifier from pointer target type [enabled by default]
           pri->dataLenBytes, pri->bytesRemaining);
           ^
      record.c:286:1: note: expected ‘void *’ but argument is of type ‘const void *’
       RecordAProtocolElement(RecordContextPtr pContext, ClientPtr pClient,
       ^
      a9d4a454
    • Ulrich Sibiller's avatar
      fb: fix compiler warning · c1ed0056
      Ulrich Sibiller authored
      fbtrap.c: In function ‘fbRasterizeTrapezoid’:
      fbtrap.c:113:12: warning: variable ‘x_off_fixed’ set but not used [-Wunused-but-set-variable]
           xFixed x_off_fixed;
      c1ed0056
    • Ulrich Sibiller's avatar
      dix: Fix compiler warning · e17c42e5
      Ulrich Sibiller authored
      devices.c: In function ‘_AddInputDevice’:
      devices.c:120:22: warning: assignment from incompatible pointer type [enabled by default]
           dev->devPrivates = dev->unwrapProc = NULL;
      e17c42e5
    • Ulrich Sibiller's avatar
      Display.c: remove unused logo code · fe887d68
      Ulrich Sibiller authored
      fe887d68
    • Ulrich Sibiller's avatar
      Rootless.c: improve debugging output · 2a6fcfc1
      Ulrich Sibiller authored
      2a6fcfc1
    • Ulrich Sibiller's avatar
      a83022a4
    • Ulrich Sibiller's avatar
      Rootless.c: fix possible memleak · 4e545710
      Ulrich Sibiller authored
      4e545710
    • Ulrich Sibiller's avatar
      Display.c: pid is always 0, remove check · 1b6b76b5
      Ulrich Sibiller authored
      1b6b76b5