From e11e1dcf2de855e4c8bec9cf8a99c0fb79d01634 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 14 Jan 2021 03:04:20 -0500 Subject: 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. --- src/yuzu/configuration/configure_motion_touch.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/yuzu/configuration/configure_motion_touch.cpp') 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( -- cgit v1.2.3