diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-02-16 13:13:38 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-02-16 13:13:38 -0500 |
commit | 49e72632d2200fc3bf71d5ced2aa43058da3b2e0 (patch) | |
tree | 583330bc173017de5e1d4a10ff7100ebc0f1a34b /keyboards/ergodox/keymaps | |
parent | 1ac5dc9e524444ef98cfab1d9822151a6bfb9621 (diff) | |
download | qmk_firmware-49e72632d2200fc3bf71d5ced2aa43058da3b2e0.tar.gz |
remove more warnings
Diffstat (limited to 'keyboards/ergodox/keymaps')
-rw-r--r-- | keyboards/ergodox/keymaps/coderkun_neo2/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/ergodox/keymaps/twey/keymap.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/ergodox/keymaps/coderkun_neo2/keymap.c b/keyboards/ergodox/keymaps/coderkun_neo2/keymap.c index b62b14449..aaf75d58f 100644 --- a/keyboards/ergodox/keymaps/coderkun_neo2/keymap.c +++ b/keyboards/ergodox/keymaps/coderkun_neo2/keymap.c @@ -312,6 +312,8 @@ uint16_t hex_to_keycode(uint8_t hex) return NEO_E; case 0xF: return NEO_F; + default: + return KC_NO; } } } diff --git a/keyboards/ergodox/keymaps/twey/keymap.c b/keyboards/ergodox/keymaps/twey/keymap.c index 5deacd63f..1ecbce466 100644 --- a/keyboards/ergodox/keymaps/twey/keymap.c +++ b/keyboards/ergodox/keymaps/twey/keymap.c @@ -205,6 +205,7 @@ void matrix_init_user(void) { // Runs constantly in the background, in a loop. void matrix_scan_user(void) { + __attribute__ ((unused)) uint32_t layer0 = layer_state & (1UL << 0), layer1 = layer_state & (1UL << 1), layer2 = layer_state & (1UL << 2), |