mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +01:00
Coverity: fix xmodifier uninitialized scalar variable
This commit is contained in:
committed by
Carlos R. Mafra
parent
c7f7c10d7c
commit
b4bd6d0cad
@@ -175,7 +175,7 @@ static void x_reset_modifier_mapping(Display * display)
|
||||
}
|
||||
|
||||
code = x_modifier_keymap->modifiermap[modifier_index * mkpm + modifier_key];
|
||||
sym = (code ? W_KeycodeToKeysym(display, code, column) : NoSymbol);
|
||||
sym = W_KeycodeToKeysym(display, code, column);
|
||||
|
||||
if (sym == last_sym)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user