mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-01 22:03:09 +00:00
dix: wrap variables with #ifdef when panoramix is not used
this shut up some warnings. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
40858960c0
commit
4971099860
2 changed files with 2 additions and 3 deletions
|
|
@ -2777,7 +2777,6 @@ UnrealizeTree(
|
|||
WindowPtr pChild;
|
||||
UnrealizeWindowProcPtr Unrealize;
|
||||
MarkUnrealizedWindowProcPtr MarkUnrealizedWindow;
|
||||
int rc;
|
||||
|
||||
Unrealize = pWin->drawable.pScreen->UnrealizeWindow;
|
||||
MarkUnrealizedWindow = pWin->drawable.pScreen->MarkUnrealizedWindow;
|
||||
|
|
@ -2791,7 +2790,7 @@ UnrealizeTree(
|
|||
#ifdef PANORAMIX
|
||||
if(!noPanoramiXExtension && !pChild->drawable.pScreen->myNum) {
|
||||
PanoramiXRes *win;
|
||||
rc = dixLookupResourceByType((pointer *)&win,
|
||||
int rc = dixLookupResourceByType((pointer *)&win,
|
||||
pChild->drawable.id, XRT_WINDOW,
|
||||
serverClient, DixWriteAccess);
|
||||
if (rc == Success)
|
||||
|
|
|
|||
Loading…
Reference in a new issue