From e5e0724740215565404dba837f8c3072f9fe7413 Mon Sep 17 00:00:00 2001 From: Dusan Durech Date: Thu, 26 Mar 2009 15:04:00 +0100 Subject: fix warnings... --- src/client/hotKey.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client/hotKey.c') diff --git a/src/client/hotKey.c b/src/client/hotKey.c index 30287ee..228e50d 100644 --- a/src/client/hotKey.c +++ b/src/client/hotKey.c @@ -74,7 +74,7 @@ void registerHotKey(SDLKey key, void (*handler) ()) void unregisterHotKey(SDLKey key) { hotKey_t *hotkey; - int index; + int my_index; hotkey = findHotkey(key); @@ -82,9 +82,9 @@ void unregisterHotKey(SDLKey key) assert(!"This hotkey not register"); } - index = searchListItem(listHotKey, hotkey); - assert(index != -1); - delListItem(listHotKey, index, destroyHotKey); + my_index = searchListItem(listHotKey, hotkey); + assert(my_index != -1); + delListItem(listHotKey, my_index, destroyHotKey); } void enableHotKey(SDLKey key) -- cgit v1.2.3