diff options
author | Lioncash <mathew1800@gmail.com> | 2021-01-14 03:04:20 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-01-14 03:05:41 -0500 |
commit | e11e1dcf2de855e4c8bec9cf8a99c0fb79d01634 (patch) | |
tree | 30ac24559332fb77b8a5ce3858db3ac563b27935 /src/yuzu/configuration/configure_motion_touch.cpp | |
parent | f1e278c30f00ecf27d769a5b9a53dcf250c1a09f (diff) |
yuzu: Remove unused variables in Qt code
Removes two unused variables in out Qt code. In this case the removal of
these two results in less allocations, given std::map allocates on the
heap.
Diffstat (limited to 'src/yuzu/configuration/configure_motion_touch.cpp')
-rw-r--r-- | src/yuzu/configuration/configure_motion_touch.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_motion_touch.cpp b/src/yuzu/configuration/configure_motion_touch.cpp index 1c477f868..caaa85930 100644 --- a/src/yuzu/configuration/configure_motion_touch.cpp +++ b/src/yuzu/configuration/configure_motion_touch.cpp @@ -112,7 +112,6 @@ ConfigureMotionTouch::~ConfigureMotionTouch() = default; void ConfigureMotionTouch::SetConfiguration() { const Common::ParamPackage motion_param(Settings::values.motion_device); const Common::ParamPackage touch_param(Settings::values.touch_device); - const std::string motion_engine = motion_param.Get("engine", "motion_emu"); const std::string touch_engine = touch_param.Get("engine", "emu_window"); ui->touch_provider->setCurrentIndex( |