mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Resolve unused variable warnings
(C4101 unreferenced local variable)
This commit is contained in:
		
							parent
							
								
									1df939469a
								
							
						
					
					
						commit
						e331fac004
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -30,7 +30,7 @@ void from_json(const nlohmann::json& json, Room::Member& member) { | |||
|     try { | ||||
|         member.username = json.at("username").get<std::string>(); | ||||
|         member.avatar_url = json.at("avatarUrl").get<std::string>(); | ||||
|     } catch (const nlohmann::detail::out_of_range& e) { | ||||
|     } catch (const nlohmann::detail::out_of_range&) { | ||||
|         member.username = member.avatar_url = ""; | ||||
|         LOG_DEBUG(Network, "Member \'{}\' isn't authenticated", member.nickname); | ||||
|     } | ||||
|  | @ -59,7 +59,7 @@ void from_json(const nlohmann::json& json, Room& room) { | |||
|     room.name = json.at("name").get<std::string>(); | ||||
|     try { | ||||
|         room.description = json.at("description").get<std::string>(); | ||||
|     } catch (const nlohmann::detail::out_of_range& e) { | ||||
|     } catch (const nlohmann::detail::out_of_range&) { | ||||
|         room.description = ""; | ||||
|         LOG_DEBUG(Network, "Room \'{}\' doesn't contain a description", room.name); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue