(1882) xwin: drop unused variable WindowsDRIReqCode
This variable is assigned once, but never used. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									673dc8fb18
								
							
						
					
					
						commit
						7e7ca1b5ae
					
				| 
						 | 
					@ -36,7 +36,6 @@
 | 
				
			||||||
#include "glx/dri_helpers.h"
 | 
					#include "glx/dri_helpers.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int WindowsDRIErrorBase = 0;
 | 
					static int WindowsDRIErrorBase = 0;
 | 
				
			||||||
static unsigned char WindowsDRIReqCode = 0;
 | 
					 | 
				
			||||||
static int WindowsDRIEventBase = 0;
 | 
					static int WindowsDRIEventBase = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void
 | 
					static void
 | 
				
			||||||
| 
						 | 
					@ -259,7 +258,6 @@ WindowsDRIExtensionInit(void)
 | 
				
			||||||
                                 WindowsDRIResetProc,
 | 
					                                 WindowsDRIResetProc,
 | 
				
			||||||
                                 StandardMinorOpcode))) {
 | 
					                                 StandardMinorOpcode))) {
 | 
				
			||||||
        size_t i;
 | 
					        size_t i;
 | 
				
			||||||
        WindowsDRIReqCode = (unsigned char)extEntry->base;
 | 
					 | 
				
			||||||
        WindowsDRIErrorBase = extEntry->errorBase;
 | 
					        WindowsDRIErrorBase = extEntry->errorBase;
 | 
				
			||||||
        WindowsDRIEventBase = extEntry->eventBase;
 | 
					        WindowsDRIEventBase = extEntry->eventBase;
 | 
				
			||||||
        for (i = 0; i < WindowsDRINumberEvents; i++)
 | 
					        for (i = 0; i < WindowsDRINumberEvents; i++)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue