summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2021-05-05 01:27:56 -0400
committerGravatar Lioncash2021-05-05 01:32:28 -0400
commitcc47a6a9c25688e04dd1a05d42a4bdcea5a518d6 (patch)
tree7b5510181c012f07b1c6a5574ddec3728d632121
parentMerge pull request #6281 from lioncash/shadow-field (diff)
downloadyuzu-cc47a6a9c25688e04dd1a05d42a4bdcea5a518d6.tar.gz
yuzu-cc47a6a9c25688e04dd1a05d42a4bdcea5a518d6.tar.xz
yuzu-cc47a6a9c25688e04dd1a05d42a4bdcea5a518d6.zip
service: Remove unused class variables
Prevents some warnings from occurring.
-rw-r--r--src/core/hle/service/am/applets/web_browser.h9
-rw-r--r--src/core/hle/service/lbl/lbl.cpp1
-rw-r--r--src/core/hle/service/pctl/module.cpp1
3 files changed, 4 insertions, 7 deletions
diff --git a/src/core/hle/service/am/applets/web_browser.h b/src/core/hle/service/am/applets/web_browser.h
index 21fd910c2..1e1812f36 100644
--- a/src/core/hle/service/am/applets/web_browser.h
+++ b/src/core/hle/service/am/applets/web_browser.h
@@ -69,13 +69,12 @@ private:
69 bool complete{false}; 69 bool complete{false};
70 ResultCode status{RESULT_SUCCESS}; 70 ResultCode status{RESULT_SUCCESS};
71 71
72 WebAppletVersion web_applet_version; 72 WebAppletVersion web_applet_version{};
73 WebExitReason web_exit_reason; 73 WebArgHeader web_arg_header{};
74 WebArgHeader web_arg_header;
75 WebArgInputTLVMap web_arg_input_tlv_map; 74 WebArgInputTLVMap web_arg_input_tlv_map;
76 75
77 u64 title_id; 76 u64 title_id{};
78 FileSys::ContentRecordType nca_type; 77 FileSys::ContentRecordType nca_type{};
79 std::string offline_cache_dir; 78 std::string offline_cache_dir;
80 std::string offline_document; 79 std::string offline_document;
81 FileSys::VirtualFile offline_romfs; 80 FileSys::VirtualFile offline_romfs;
diff --git a/src/core/hle/service/lbl/lbl.cpp b/src/core/hle/service/lbl/lbl.cpp
index e11a0c45a..3a5a2f4f5 100644
--- a/src/core/hle/service/lbl/lbl.cpp
+++ b/src/core/hle/service/lbl/lbl.cpp
@@ -312,7 +312,6 @@ private:
312 312
313 bool vr_mode_enabled = false; 313 bool vr_mode_enabled = false;
314 float current_brightness = 1.0f; 314 float current_brightness = 1.0f;
315 float backlight_brightness = 1.0f;
316 float ambient_light_value = 0.0f; 315 float ambient_light_value = 0.0f;
317 float current_vr_brightness = 1.0f; 316 float current_vr_brightness = 1.0f;
318 bool dimming = true; 317 bool dimming = true;
diff --git a/src/core/hle/service/pctl/module.cpp b/src/core/hle/service/pctl/module.cpp
index 96f6e90d0..9bebe6088 100644
--- a/src/core/hle/service/pctl/module.cpp
+++ b/src/core/hle/service/pctl/module.cpp
@@ -361,7 +361,6 @@ private:
361 States states{}; 361 States states{};
362 ParentalControlSettings settings{}; 362 ParentalControlSettings settings{};
363 std::array<char, 8> pin_code{}; 363 std::array<char, 8> pin_code{};
364 bool can_use_stereo_vision = true;
365 Capability capability{}; 364 Capability capability{};
366}; 365};
367 366