xkbcomp: remove useless assignment
../../../src/xkbcomp/compat.c:693:16: warning: Although the value stored to 'merge' is used in the enclosing expression, the value is never actually read from 'merge' [deadcode.DeadStores] si.merge = merge = (def->merge == MERGE_DEFAULT ? merge : def->merge); Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>master
parent
20f7f80c23
commit
fa86433e7c
|
@ -690,7 +690,7 @@ HandleInterpDef(CompatInfo *info, InterpDef *def, enum merge_mode merge)
|
|||
}
|
||||
|
||||
si = info->default_interp;
|
||||
si.merge = merge = (def->merge == MERGE_DEFAULT ? merge : def->merge);
|
||||
si.merge = (def->merge == MERGE_DEFAULT ? merge : def->merge);
|
||||
si.interp.sym = def->sym;
|
||||
si.interp.match = pred;
|
||||
si.interp.mods = mods;
|
||||
|
|
Loading…
Reference in New Issue