fix -Wmaybe-uninitialized warning
This commit is contained in:
		
							
								
								
									
										2
									
								
								image.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								image.c
									
									
									
									
									
								
							@@ -159,7 +159,7 @@ static bool img_load_gif(img_t *img, const fileinfo_t *file)
 | 
				
			|||||||
	GifRowType *rows = NULL;
 | 
						GifRowType *rows = NULL;
 | 
				
			||||||
	GifRecordType rec;
 | 
						GifRecordType rec;
 | 
				
			||||||
	ColorMapObject *cmap;
 | 
						ColorMapObject *cmap;
 | 
				
			||||||
	DATA32 bgpixel, *data, *ptr;
 | 
						DATA32 bgpixel = 0, *data, *ptr;
 | 
				
			||||||
	DATA32 *prev_frame = NULL;
 | 
						DATA32 *prev_frame = NULL;
 | 
				
			||||||
	Imlib_Image im;
 | 
						Imlib_Image im;
 | 
				
			||||||
	int i, j, bg, r, g, b;
 | 
						int i, j, bg, r, g, b;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user