mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:00:06 +00:00 
			
		
		
		
	Fix case where level 3 data value could be uninitialized
This commit is contained in:
		
							parent
							
								
									a77b6bea9d
								
							
						
					
					
						commit
						0c8d1aeb80
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -975,7 +975,7 @@ ProductDescriptionBlock::data_value(std::uint8_t level) const | ||||||
|       return std::nullopt; |       return std::nullopt; | ||||||
|    } |    } | ||||||
| 
 | 
 | ||||||
|    float f; |    std::optional<float> f = std::nullopt; | ||||||
| 
 | 
 | ||||||
|    // Different products use different scale/offset formulas
 |    // Different products use different scale/offset formulas
 | ||||||
|    if (numberOfLevels > 16 || |    if (numberOfLevels > 16 || | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat