dix: fix compiler warnings about unused variables.
This commit is contained in:
		
							parent
							
								
									68e0c4988e
								
							
						
					
					
						commit
						1c25c46f3d
					
				
							
								
								
									
										13
									
								
								dix/events.c
								
								
								
								
							
							
						
						
									
										13
									
								
								dix/events.c
								
								
								
								
							|  | @ -777,8 +777,9 @@ ConfineToShape(DeviceIntPtr pDev, RegionPtr shape, int *px, int *py) | ||||||
|     BoxRec box; |     BoxRec box; | ||||||
|     int x = *px, y = *py; |     int x = *px, y = *py; | ||||||
|     int incx = 1, incy = 1; |     int incx = 1, incy = 1; | ||||||
|     SpritePtr pSprite = pDev->spriteInfo->sprite; |     SpritePtr pSprite;  | ||||||
| 
 | 
 | ||||||
|  |     pSprite = pDev->spriteInfo->sprite; | ||||||
|     if (POINT_IN_REGION(pSprite->hot.pScreen, shape, x, y, &box)) |     if (POINT_IN_REGION(pSprite->hot.pScreen, shape, x, y, &box)) | ||||||
| 	return; | 	return; | ||||||
|     box = *REGION_EXTENTS(pSprite->hot.pScreen, shape); |     box = *REGION_EXTENTS(pSprite->hot.pScreen, shape); | ||||||
|  | @ -3488,16 +3489,14 @@ ProcessKeyboardEvent (xEvent *xE, DeviceIntPtr keybd, int count) | ||||||
| #endif | #endif | ||||||
| { | { | ||||||
|     int             key, bit; |     int             key, bit; | ||||||
|     BYTE   *kptr; |     BYTE            *kptr; | ||||||
|     int    i; |     CARD8           modifiers; | ||||||
|     CARD8  modifiers; |  | ||||||
|     CARD16 mask; |  | ||||||
|     GrabPtr         grab; |     GrabPtr         grab; | ||||||
|     GrabInfoPtr     grabinfo; |     GrabInfoPtr     grabinfo; | ||||||
|     Bool            deactivateGrab = FALSE; |     Bool            deactivateGrab = FALSE; | ||||||
|     KeyClassPtr keyc = keybd->key; |     KeyClassPtr     keyc = keybd->key; | ||||||
| #ifdef XEVIE | #ifdef XEVIE | ||||||
|     static Window           rootWin = 0; |     static Window   rootWin = 0; | ||||||
| 
 | 
 | ||||||
|     if(!xeviegrabState && xevieFlag && clients[xevieClientIndex] && |     if(!xeviegrabState && xevieFlag && clients[xevieClientIndex] && | ||||||
|           (xevieMask & xevieFilters[xE->u.u.type])) { |           (xevieMask & xevieFilters[xE->u.u.type])) { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue