mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-25 11:26:37 +00:00 
			
		
		
		
	silencing some warnings
This commit is contained in:
		
							parent
							
								
									775f9e8402
								
							
						
					
					
						commit
						cd84b68e4b
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -454,11 +454,11 @@ bool MWDialogue::Filter::getSelectStructBoolean (const SelectWrapper& select) co | ||||||
|             std::string name = select.getName(); |             std::string name = select.getName(); | ||||||
| 
 | 
 | ||||||
|             int i = 0; |             int i = 0; | ||||||
|             for (; i < script->mVarNames.size(); ++i) |             for (; i < static_cast<int> (script->mVarNames.size()); ++i) | ||||||
|                 if (Misc::StringUtils::lowerCase(script->mVarNames[i]) == name) |                 if (Misc::StringUtils::lowerCase(script->mVarNames[i]) == name) | ||||||
|                     break; |                     break; | ||||||
| 
 | 
 | ||||||
|             if (i >= script->mVarNames.size()) |             if (i >= static_cast<int> (script->mVarNames.size())) | ||||||
|                 return true; // script does not have a variable of this name
 |                 return true; // script does not have a variable of this name
 | ||||||
| 
 | 
 | ||||||
|             return false; |             return false; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue