mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-19 00:30:05 +00:00
38b9d1780f
This function can be simplified by attempting to find the username within the JSON object and then only accessing it if it does. There's no need to blindly access the data itself. This also eliminates the need to copy the string to a local as well, since we already have the element itself, we can just compare against it. For the failure case, it's the same if we were checking that the provided username string is empty. |
||
---|---|---|
.. | ||
announce_room_json.cpp | ||
announce_room_json.h | ||
CMakeLists.txt | ||
json.h | ||
telemetry_json.cpp | ||
telemetry_json.h | ||
verify_login.cpp | ||
verify_login.h | ||
web_backend.cpp | ||
web_backend.h |