From 0c4c81620f33cbaf7114a6f98de52e26d07e038d Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 30 Aug 2011 14:32:16 +0000 Subject: Fix h100 red and other warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30384 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagcache.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'apps/tagcache.c') diff --git a/apps/tagcache.c b/apps/tagcache.c index 5ab77264f6..e3f2f4fe68 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -3905,9 +3905,7 @@ static bool allocate_tagcache(void) static bool tagcache_dumpload(void) { struct statefile_header shdr; - int fd, rc; - long offpos; - int i, handle; + int fd, rc, handle; fd = open(TAGCACHE_STATEFILE, O_RDONLY); if (fd < 0) @@ -3932,7 +3930,7 @@ static bool tagcache_dumpload(void) /* Lets allocate real memory and load it */ handle = core_alloc_ex("tc ramcache", shdr.tc_stat.ramcache_allocated, &ops); ramcache_hdr = core_get_data(handle); - moev_lock++; + move_lock++; rc = read(fd, ramcache_hdr, shdr.tc_stat.ramcache_allocated); move_lock--; close(fd); -- cgit v1.2.3