diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-04-23 09:31:25 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-04-23 09:31:25 +0000 |
commit | 0ff79474887ca9ce8459fa9c7eedcc8837b36806 (patch) | |
tree | 795ad5fda2604126880ec16e5d42290b2ecdd5fa /firmware/common | |
parent | 2fb386d019cbff4b2013c507a51262b82ec82c26 (diff) | |
download | rockbox-0ff79474887ca9ce8459fa9c7eedcc8837b36806.tar.gz rockbox-0ff79474887ca9ce8459fa9c7eedcc8837b36806.zip |
Removed some warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@192 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/lists.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/common/lists.c b/firmware/common/lists.c index 46380e744f..0699531e20 100644 --- a/firmware/common/lists.c +++ b/firmware/common/lists.c | |||
@@ -241,8 +241,6 @@ int list_empty(LIST *list) /* The list to check */ | |||
241 | ******************************************************************************/ | 241 | ******************************************************************************/ |
242 | LIST_NODE *list_get_first(LIST *lh) /* The list to read from */ | 242 | LIST_NODE *list_get_first(LIST *lh) /* The list to read from */ |
243 | { | 243 | { |
244 | LIST_NODE *ln; | ||
245 | |||
246 | if(list_empty(lh)) /* Return NULL if the list is empty */ | 244 | if(list_empty(lh)) /* Return NULL if the list is empty */ |
247 | { | 245 | { |
248 | return NULL; | 246 | return NULL; |
@@ -260,8 +258,6 @@ LIST_NODE *list_get_first(LIST *lh) /* The list to read from */ | |||
260 | ******************************************************************************/ | 258 | ******************************************************************************/ |
261 | LIST_NODE *list_get_last(LIST *lh) /* The list to read from */ | 259 | LIST_NODE *list_get_last(LIST *lh) /* The list to read from */ |
262 | { | 260 | { |
263 | LIST_NODE *ln; | ||
264 | |||
265 | if(list_empty(lh)) /* Return NULL if the list is empty */ | 261 | if(list_empty(lh)) /* Return NULL if the list is empty */ |
266 | { | 262 | { |
267 | return NULL; | 263 | return NULL; |