Apply suggestions from code review

Remove unneeded breaks (few more forgotten ones).

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Josef Adamčík 2020-05-18 12:45:38 +02:00 committed by GitHub
parent 2a43989d30
commit 2651edc243
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -339,7 +339,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
unregister_code(KC_C); unregister_code(KC_C);
} }
return false; return false;
break;
case KC_PASTE: case KC_PASTE:
if (record->event.pressed) { if (record->event.pressed) {
register_mods(mod_config(MOD_LCTL)); register_mods(mod_config(MOD_LCTL));
@ -349,7 +348,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
unregister_code(KC_V); unregister_code(KC_V);
} }
return false; return false;
break;
case KC_CUT: case KC_CUT:
if (record->event.pressed) { if (record->event.pressed) {
register_mods(mod_config(MOD_LCTL)); register_mods(mod_config(MOD_LCTL));