hw/xwin: Remove unused variables in winwindow.c
winwindow.c: In function ‘winCreateWindowNativeGDI’: winwindow.c:62:19: warning: unused variable ‘pWinPriv’ [-Wunused-variable] winwindow.c: In function ‘winDestroyWindowNativeGDI’: winwindow.c:85:19: warning: unused variable ‘pWinPriv’ [-Wunused-variable] winwindow.c: In function ‘winPositionWindowNativeGDI’: winwindow.c:108:19: warning: unused variable ‘pWinPriv’ [-Wunused-variable] winwindow.c: In function ‘winChangeWindowAttributesNativeGDI’: winwindow.c:213:19: warning: unused variable ‘pWinPriv’ [-Wunused-variable] winwindow.c: In function ‘winUnmapWindowNativeGDI’: winwindow.c:241:19: warning: unused variable ‘pWinPriv’ [-Wunused-variable] winwindow.c: In function ‘winMapWindowNativeGDI’: winwindow.c:265:19: warning: unused variable ‘pWinPriv’ [-Wunused-variable] Signed-off-by: Colin Harrison <colin.harrison@virgin.net> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
08b33882f3
commit
5886b1dc4d
|
@ -59,7 +59,6 @@ winCreateWindowNativeGDI(WindowPtr pWin)
|
|||
Bool fResult = TRUE;
|
||||
ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||
|
||||
winWindowPriv(pWin);
|
||||
winScreenPriv(pScreen);
|
||||
|
||||
#if CYGDEBUG
|
||||
|
@ -82,7 +81,6 @@ winDestroyWindowNativeGDI(WindowPtr pWin)
|
|||
Bool fResult = TRUE;
|
||||
ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||
|
||||
winWindowPriv(pWin);
|
||||
winScreenPriv(pScreen);
|
||||
|
||||
#if CYGDEBUG
|
||||
|
@ -105,7 +103,6 @@ winPositionWindowNativeGDI(WindowPtr pWin, int x, int y)
|
|||
Bool fResult = TRUE;
|
||||
ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||
|
||||
winWindowPriv(pWin);
|
||||
winScreenPriv(pScreen);
|
||||
|
||||
#if CYGDEBUG
|
||||
|
@ -210,7 +207,6 @@ winChangeWindowAttributesNativeGDI(WindowPtr pWin, unsigned long mask)
|
|||
Bool fResult = TRUE;
|
||||
ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||
|
||||
winWindowPriv(pWin);
|
||||
winScreenPriv(pScreen);
|
||||
|
||||
#if CYGDEBUG
|
||||
|
@ -238,7 +234,6 @@ winUnmapWindowNativeGDI(WindowPtr pWin)
|
|||
Bool fResult = TRUE;
|
||||
ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||
|
||||
winWindowPriv(pWin);
|
||||
winScreenPriv(pScreen);
|
||||
|
||||
#if CYGDEBUG
|
||||
|
@ -262,7 +257,6 @@ winMapWindowNativeGDI(WindowPtr pWin)
|
|||
Bool fResult = TRUE;
|
||||
ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||
|
||||
winWindowPriv(pWin);
|
||||
winScreenPriv(pScreen);
|
||||
|
||||
#if CYGDEBUG
|
||||
|
|
Loading…
Reference in New Issue
Block a user