summaryrefslogtreecommitdiff
path: root/keyboards/ergodox/keymaps/twey
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-02-16 13:13:38 -0500
committerJack Humbert <jack.humb@gmail.com>2017-02-16 13:13:38 -0500
commit49e72632d2200fc3bf71d5ced2aa43058da3b2e0 (patch)
tree583330bc173017de5e1d4a10ff7100ebc0f1a34b /keyboards/ergodox/keymaps/twey
parent1ac5dc9e524444ef98cfab1d9822151a6bfb9621 (diff)
downloadqmk_firmware-49e72632d2200fc3bf71d5ced2aa43058da3b2e0.tar.gz
qmk_firmware-49e72632d2200fc3bf71d5ced2aa43058da3b2e0.zip
remove more warnings
Diffstat (limited to 'keyboards/ergodox/keymaps/twey')
-rw-r--r--keyboards/ergodox/keymaps/twey/keymap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/ergodox/keymaps/twey/keymap.c b/keyboards/ergodox/keymaps/twey/keymap.c
index 5deacd63f5..1ecbce4661 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),