mirror of
https://github.com/TomHarte/CLK.git
synced 2024-06-01 22:41:32 +00:00
Avoid partial struct instantiation.
This commit is contained in:
parent
6cb23ec5be
commit
5f6c08b7e0
|
@ -43,7 +43,7 @@
|
|||
KeyboardMapper::KeyboardMapper() {
|
||||
#ifdef HAS_X11
|
||||
struct DesiredMapping {
|
||||
KeySym source;
|
||||
KeySym source = 0;
|
||||
Inputs::Keyboard::Key destination;
|
||||
};
|
||||
|
||||
|
@ -115,7 +115,7 @@ KeyboardMapper::KeyboardMapper() {
|
|||
|
||||
{XK_Help, Key::Help},
|
||||
|
||||
{0}
|
||||
{}
|
||||
};
|
||||
|
||||
// Extra level of nonsense here:
|
||||
|
|
Loading…
Reference in New Issue
Block a user