mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Unused variable warning when building without libosmgpsmap.
info.c: In function 'dive_info_widget': info.c:759:48: warning: unused variable 'image' [-Wunused-variable] Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									f04d9c5656
								
							
						
					
					
						commit
						1c290ebe5b
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		
							
								
								
									
										5
									
								
								info.c
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								info.c
									
										
									
									
									
								
							| 
						 | 
					@ -756,7 +756,10 @@ static void location_entry_change_cb(GtkComboBox *location, gpointer *userdata)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void dive_info_widget(GtkWidget *box, struct dive *dive, struct dive_info *info, gboolean multi)
 | 
					static void dive_info_widget(GtkWidget *box, struct dive *dive, struct dive_info *info, gboolean multi)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	GtkWidget *hbox, *label, *frame, *equipment, *image;
 | 
						GtkWidget *hbox, *label, *frame, *equipment;
 | 
				
			||||||
 | 
					#if HAVE_OSM_GPS_MAP
 | 
				
			||||||
 | 
						GtkWidget *image;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
	char buffer[128];
 | 
						char buffer[128];
 | 
				
			||||||
	char airtemp[6];
 | 
						char airtemp[6];
 | 
				
			||||||
	const char *unit;
 | 
						const char *unit;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue