Merge pull request #6229 from lioncash/unused-var
acc/lbl: Remove unused variables
This commit is contained in:
commit
2e268abe42
|
@ -702,16 +702,12 @@ void Module::Interface::IsUserRegistrationRequestPermitted(Kernel::HLERequestCon
|
||||||
}
|
}
|
||||||
|
|
||||||
void Module::Interface::InitializeApplicationInfo(Kernel::HLERequestContext& ctx) {
|
void Module::Interface::InitializeApplicationInfo(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestParser rp{ctx};
|
|
||||||
|
|
||||||
LOG_DEBUG(Service_ACC, "called");
|
LOG_DEBUG(Service_ACC, "called");
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
rb.Push(InitializeApplicationInfoBase());
|
rb.Push(InitializeApplicationInfoBase());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Module::Interface::InitializeApplicationInfoRestricted(Kernel::HLERequestContext& ctx) {
|
void Module::Interface::InitializeApplicationInfoRestricted(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestParser rp{ctx};
|
|
||||||
|
|
||||||
LOG_WARNING(Service_ACC, "(Partial implementation) called");
|
LOG_WARNING(Service_ACC, "(Partial implementation) called");
|
||||||
|
|
||||||
// TODO(ogniK): We require checking if the user actually owns the title and what not. As of
|
// TODO(ogniK): We require checking if the user actually owns the title and what not. As of
|
||||||
|
|
|
@ -79,7 +79,6 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetCurrentBrightnessSetting(Kernel::HLERequestContext& ctx) {
|
void GetCurrentBrightnessSetting(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestParser rp{ctx};
|
|
||||||
auto brightness = current_brightness;
|
auto brightness = current_brightness;
|
||||||
if (!std::isfinite(brightness)) {
|
if (!std::isfinite(brightness)) {
|
||||||
LOG_ERROR(Service_LBL, "Brightness is infinite!");
|
LOG_ERROR(Service_LBL, "Brightness is infinite!");
|
||||||
|
@ -272,7 +271,6 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetCurrentBrightnessSettingForVrMode(Kernel::HLERequestContext& ctx) {
|
void GetCurrentBrightnessSettingForVrMode(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestParser rp{ctx};
|
|
||||||
auto brightness = current_vr_brightness;
|
auto brightness = current_vr_brightness;
|
||||||
if (!std::isfinite(brightness)) {
|
if (!std::isfinite(brightness)) {
|
||||||
LOG_ERROR(Service_LBL, "Brightness is infinite!");
|
LOG_ERROR(Service_LBL, "Brightness is infinite!");
|
||||||
|
|
Loading…
Reference in New Issue