Fix two warnings.

This commit is contained in:
Jordan Woyak
2013-01-13 12:57:17 -06:00
parent 65175a233a
commit 6b8dc6802b
2 changed files with 1 additions and 2 deletions

View File

@ -115,7 +115,6 @@ KeyboardMouse::Key::Key(Display* const display, KeyCode keycode, const char* key
ControlState KeyboardMouse::Key::GetState() const
{
const KeyCode shift = XKeysymToKeycode(m_display, XK_Shift_L);
return (m_keyboard[m_keycode / 8] & (1 << (m_keycode % 8))) != 0;
}