vnc: simple clean up
It is unnecessary to assign 'packed_bytes' to 'estimated_bytes', because 'estimated_bytes' unused after assignment. Signed-off-by: Wei Qi <weiqi4@huawei.com> Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
		
							parent
							
								
									bb1599b64c
								
							
						
					
					
						commit
						761d0f97a4
					
				| 
						 | 
				
			
			@ -163,7 +163,6 @@ static void zrle_choose_palette_rle(VncState *vs, int w, int h,
 | 
			
		|||
            if (packed_bytes < estimated_bytes) {
 | 
			
		||||
                *use_rle = false;
 | 
			
		||||
                *use_palette = true;
 | 
			
		||||
                estimated_bytes = packed_bytes;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue