mirror of
				https://github.com/pbatard/rufus.git
				synced 2024-08-14 23:57:05 +00:00 
			
		
		
		
	[flow] Remove already true condition check
This commit is contained in:
		
							parent
							
								
									20c2d9624d
								
							
						
					
					
						commit
						ecc94d6521
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1538,8 +1538,8 @@ BOOL SetUpdateCheck(void) | ||||||
| 			return FALSE; | 			return FALSE; | ||||||
| 		} | 		} | ||||||
| 		// If the user hasn't set the interval in the dialog, set to default
 | 		// If the user hasn't set the interval in the dialog, set to default
 | ||||||
| 		if ( (ReadSetting32(SETTING_UPDATE_INTERVAL) == 0) || | 		if ((ReadSetting32(SETTING_UPDATE_INTERVAL) == 0) || | ||||||
| 			 ((ReadSetting32(SETTING_UPDATE_INTERVAL) == -1) && enable_updates) ) | 			 (ReadSetting32(SETTING_UPDATE_INTERVAL) == -1)) | ||||||
| 			WriteSetting32(SETTING_UPDATE_INTERVAL, 86400); | 			WriteSetting32(SETTING_UPDATE_INTERVAL, 86400); | ||||||
| 	} | 	} | ||||||
| 	// Also detect if we can use Fido, which depends on:
 | 	// Also detect if we can use Fido, which depends on:
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue