Global: Remove some unused variables.

This commit is contained in:
Unknown W. Brackets
2021-02-15 11:59:45 -08:00
parent 0c876754a6
commit f32f89dd90
74 changed files with 28 additions and 170 deletions
-3
View File
@@ -109,8 +109,6 @@ void ControlMapper::Refresh() {
LinearLayout *root = Add(new LinearLayout(ORIENT_HORIZONTAL, new LinearLayoutParams(550, WRAP_CONTENT)));
root->SetSpacing(3.0f);
const int padding = 4;
auto iter = keyImages.find(keyName_);
// First, look among images.
if (iter != keyImages.end()) {
@@ -138,7 +136,6 @@ void ControlMapper::Refresh() {
for (size_t i = 0; i < mappings.size(); i++) {
std::string deviceName = GetDeviceName(mappings[i].deviceId);
std::string keyName = KeyMap::GetKeyOrAxisName(mappings[i].keyCode);
int image = -1;
LinearLayout *row = rightColumn->Add(new LinearLayout(ORIENT_HORIZONTAL, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT)));
row->SetSpacing(1.0f);