summaryrefslogtreecommitdiff
path: root/firmware/common/dircache.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-08 21:06:38 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-08 21:06:38 +0000
commit67f215032d8bab2571aad2da739d72512c064ca4 (patch)
treeb39689b5947f0522ca16fd79900906981951cd8f /firmware/common/dircache.c
parentab99e941dbf0481a1c0abb3767a745d23b53bfd2 (diff)
Fix a bunch of 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29841 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/dircache.c')
-rw-r--r--firmware/common/dircache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c
index 45726a3237..c3360adee6 100644
--- a/firmware/common/dircache.c
+++ b/firmware/common/dircache.c
@@ -781,7 +781,7 @@ void* dircache_steal_buffer(long *size)
void dircache_init(void)
{
int i;
- int thread_id;
+ int thread_id __attribute__((unused));
dircache_initialized = false;
dircache_initializing = false;