Coverity #271: Fix an unbelievably boneheaded NULL chase.
This commit is contained in:
		
							parent
							
								
									7ef95da8a3
								
							
						
					
					
						commit
						61926dbe59
					
				| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
2006-04-02  Adam Jackson  <ajax@freedesktop.org>
 | 
			
		||||
 | 
			
		||||
	* GL/glx/glxcmdsswap.c:
 | 
			
		||||
	Coverity #271: Fix an unbelievably boneheaded NULL chase.
 | 
			
		||||
 | 
			
		||||
2006-04-02  Adam Jackson  <ajax@freedesktop.org>
 | 
			
		||||
 | 
			
		||||
	* hw/xnest/Pixmap.c:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -345,7 +345,7 @@ int __glXSwapUseXFont(__GLXclientState *cl, GLbyte *pc)
 | 
			
		|||
 | 
			
		||||
int __glXSwapQueryExtensionsString(__GLXclientState *cl, GLbyte *pc)
 | 
			
		||||
{
 | 
			
		||||
    xGLXQueryExtensionsStringReq *req = NULL;
 | 
			
		||||
    xGLXQueryExtensionsStringReq *req = (xGLXQueryExtensionsStringReq *)pc;
 | 
			
		||||
    __GLX_DECLARE_SWAP_VARIABLES;
 | 
			
		||||
 | 
			
		||||
    __GLX_SWAP_SHORT(&req->length);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue