mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	cleanup: Logically dead code
CID 208318 Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
		
							parent
							
								
									6fa23f74f7
								
							
						
					
					
						commit
						1ce9b5bb9a
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -347,7 +347,6 @@ int DiveItem::countPhotos(dive *dive) const | |||
| 	int diveTotaltime = dive_endtime(dive) - dive->when;	// taken during the dive, not before/after.
 | ||||
| 	int pic_offset, icon_index = 0; | ||||
| 	FOR_EACH_PICTURE (dive) {		// Step through each of the pictures for this dive:
 | ||||
| 		if (!picture) break;		// if there are no pictures for this dive, return 0
 | ||||
| 		pic_offset = picture->offset.seconds; | ||||
| 		if  ((pic_offset < -bufperiod) | (pic_offset > diveTotaltime+bufperiod)) { | ||||
| 			icon_index |= 0x02;	// If picture is before/after the dive
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue