Merge pull request #6283 from lioncash/unused-fields

service: Remove unused class variables
This commit is contained in:
bunnei 2021-05-05 09:26:01 -07:00 committed by GitHub
commit 860d73637e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 7 deletions

View File

@ -69,13 +69,12 @@ private:
bool complete{false}; bool complete{false};
ResultCode status{RESULT_SUCCESS}; ResultCode status{RESULT_SUCCESS};
WebAppletVersion web_applet_version; WebAppletVersion web_applet_version{};
WebExitReason web_exit_reason; WebArgHeader web_arg_header{};
WebArgHeader web_arg_header;
WebArgInputTLVMap web_arg_input_tlv_map; WebArgInputTLVMap web_arg_input_tlv_map;
u64 title_id; u64 title_id{};
FileSys::ContentRecordType nca_type; FileSys::ContentRecordType nca_type{};
std::string offline_cache_dir; std::string offline_cache_dir;
std::string offline_document; std::string offline_document;
FileSys::VirtualFile offline_romfs; FileSys::VirtualFile offline_romfs;

View File

@ -312,7 +312,6 @@ private:
bool vr_mode_enabled = false; bool vr_mode_enabled = false;
float current_brightness = 1.0f; float current_brightness = 1.0f;
float backlight_brightness = 1.0f;
float ambient_light_value = 0.0f; float ambient_light_value = 0.0f;
float current_vr_brightness = 1.0f; float current_vr_brightness = 1.0f;
bool dimming = true; bool dimming = true;

View File

@ -361,7 +361,6 @@ private:
States states{}; States states{};
ParentalControlSettings settings{}; ParentalControlSettings settings{};
std::array<char, 8> pin_code{}; std::array<char, 8> pin_code{};
bool can_use_stereo_vision = true;
Capability capability{}; Capability capability{};
}; };