summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorJosef Adamčík <josef.adamcik@gmail.com>2020-05-18 12:43:35 +0200
committerGitHub <noreply@github.com>2020-05-18 12:43:35 +0200
commit2a43989d30818feae5e71c505fda721afa8bf19d (patch)
treef61c93539bd684143d8cd2c86c1de5ef964d8f5b /keyboards
parent2f5521cd48f692366d04679357c0f92b4bb36442 (diff)
downloadqmk_firmware-2a43989d30818feae5e71c505fda721afa8bf19d.tar.gz
qmk_firmware-2a43989d30818feae5e71c505fda721afa8bf19d.zip
Apply suggestions from code review
Remove unneeded breaks. Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/sofle/keymaps/default/keymap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/keyboards/sofle/keymaps/default/keymap.c b/keyboards/sofle/keymaps/default/keymap.c
index 29807fba19..9f3a0ba90c 100644
--- a/keyboards/sofle/keymaps/default/keymap.c
+++ b/keyboards/sofle/keymaps/default/keymap.c
@@ -231,7 +231,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
update_tri_layer(_LOWER, _RAISE, _ADJUST);
}
return false;
- break;
case KC_RAISE:
if (record->event.pressed) {
layer_on(_RAISE);
@@ -241,7 +240,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
update_tri_layer(_LOWER, _RAISE, _ADJUST);
}
return false;
- break;
case KC_ADJUST:
if (record->event.pressed) {
layer_on(_ADJUST);
@@ -249,7 +247,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
layer_off(_ADJUST);
}
return false;
- break;
case KC_PRVWD:
if (record->event.pressed) {
if (keymap_config.swap_lctl_lgui) {
@@ -372,7 +369,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
unregister_code(KC_Z);
}
return false;
- break;
}
return true;
}