mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Profile2: use an implicit initializer for a struct array
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									0325b267ee
								
							
						
					
					
						commit
						7d9849cfed
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -229,7 +229,7 @@ void DiveHeartrateItem::modelDataChanged(const QModelIndex &topLeft, const QMode | ||||||
| 	struct { | 	struct { | ||||||
| 		int sec; | 		int sec; | ||||||
| 		int hr; | 		int hr; | ||||||
| 	} hist[3] = { 0 }; | 	} hist[3] = {}; | ||||||
| 
 | 
 | ||||||
| 	// We don't have enougth data to calculate things, quit.
 | 	// We don't have enougth data to calculate things, quit.
 | ||||||
| 	if (!shouldCalculateStuff(topLeft, bottomRight)) | 	if (!shouldCalculateStuff(topLeft, bottomRight)) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue