From bada74e2a10224849719d1caa1dff8493cf39c58 Mon Sep 17 00:00:00 2001
From: Joe Wasson <jwasson+github@gmail.com>
Date: Mon, 26 Nov 2018 17:39:29 -0800
Subject: [PATCH] Keymap: Fix build errors for non-Zeal boards. (#4496)

---
 users/talljoe/talljoe.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/users/talljoe/talljoe.c b/users/talljoe/talljoe.c
index e72dc6c3e..345b5604b 100644
--- a/users/talljoe/talljoe.c
+++ b/users/talljoe/talljoe.c
@@ -108,7 +108,9 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
 extern backlight_config g_config;
 #endif
 bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+#ifdef ZEAL_RGB
   static uint8_t last_effect;
+#endif
 
 #ifdef RGBLIGHT_ENABLE
   static uint32_t savedRgbMode;
-- 
2.39.5