From 0ff79474887ca9ce8459fa9c7eedcc8837b36806 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 23 Apr 2002 09:31:25 +0000 Subject: Removed some warnings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@192 a1c6a512-1295-4272-9138-f99709370657 --- firmware/common/lists.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'firmware') 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; -- cgit v1.2.3