modifiers: Fix PVS 743
Fix 'gotone' is assigned values twice successively. Change-Id: Ibe9f531ba4d16cec61b49cc49e842486b5ab6f64 Reviewed-on: https://review.haiku-os.org/700 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
This commit is contained in:
parent
f5a452910a
commit
81728c84c5
@ -58,7 +58,6 @@ list_modifiers(int mods)
|
|||||||
if (mods & modifier_bits[i]) {
|
if (mods & modifier_bits[i]) {
|
||||||
if (gotone)
|
if (gotone)
|
||||||
printf(",");
|
printf(",");
|
||||||
gotone = 0;
|
|
||||||
printf("%s", modifier_names[i]);
|
printf("%s", modifier_names[i]);
|
||||||
gotone = 1;
|
gotone = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user