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 | |
parent | 2fb386d019cbff4b2013c507a51262b82ec82c26 (diff) |
Removed some warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@192 a1c6a512-1295-4272-9138-f99709370657
-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 */ ******************************************************************************/ LIST_NODE *list_get_first(LIST *lh) /* The list to read from */ { - LIST_NODE *ln; - if(list_empty(lh)) /* Return NULL if the list is empty */ { return NULL; @@ -260,8 +258,6 @@ LIST_NODE *list_get_first(LIST *lh) /* The list to read from */ ******************************************************************************/ LIST_NODE *list_get_last(LIST *lh) /* The list to read from */ { - LIST_NODE *ln; - if(list_empty(lh)) /* Return NULL if the list is empty */ { return NULL; |