mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Remove pointless assignments
tissue_tolerance wasn't used after it was assigned. type was overwritten after it was assigned. serial was overwritten after the last /= 100. event is assigned in the for loop. clear isn't used after the assignment Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									99b8e85d73
								
							
						
					
					
						commit
						d24d2288f3
					
				
					 5 changed files with 5 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -150,10 +150,8 @@ void GlobeGPS::mouseClicked(qreal lon, qreal lat, GeoDataCoordinates::Unit unit)
 | 
			
		|||
	}
 | 
			
		||||
	if (selectedDiveIds.empty())
 | 
			
		||||
		return;
 | 
			
		||||
	if (clear) {
 | 
			
		||||
	if (clear)
 | 
			
		||||
		MainWindow::instance()->dive_list()->unselectDives();
 | 
			
		||||
		clear = false;
 | 
			
		||||
	}
 | 
			
		||||
	MainWindow::instance()->dive_list()->selectDives(selectedDiveIds);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue