refactor: remove redundant cast
This commit is contained in:
@ -787,7 +787,7 @@ void ServerProxy::setOptions()
|
||||
}
|
||||
|
||||
if (id != kKeyModifierIDNull) {
|
||||
m_modifierTranslationTable[id] = static_cast<KeyModifierID>(options[i + 1]);
|
||||
m_modifierTranslationTable[id] = options[i + 1];
|
||||
LOG((CLOG_DEBUG1 "modifier %d mapped to %d", id, m_modifierTranslationTable[id]));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user