Răsfoiți Sursa

Simplify logic; no need to return so much

Christopher Browne 10 ani în urmă
părinte
comite
c5a034f984
1 a modificat fișierele cu 0 adăugiri și 3 ștergeri
  1. 0 3
      keyboard/planck/keymaps/cbbrowne/keymap.c

+ 0 - 3
keyboard/planck/keymaps/cbbrowne/keymap.c

@@ -133,9 +133,6 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
   case M_USERNAME:
     if (record->event.pressed) {
       SEND_STRING("cbbrowne");
-      return MACRO_NONE ;
-    } else {
-      return MACRO_NONE ;
     }
     break;
   case M_RANDDIGIT: