glxproxy: warning fix
glxsingle.c: In function ‘__glXDisp_ReadPixels’: glxsingle.c:760:11: warning: ‘buf’ may be used uninitialized in this function Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
		
							parent
							
								
									4270157bac
								
							
						
					
					
						commit
						dad2712c93
					
				| 
						 | 
				
			
			@ -811,6 +811,7 @@ int __glXDisp_ReadPixels(__GLXclientState *cl, GLbyte *pc)
 | 
			
		|||
    }
 | 
			
		||||
    else {
 | 
			
		||||
       buf_size = 0;
 | 
			
		||||
       buf = NULL;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (buf_size > 0) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue