diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-03 20:28:56 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-03 20:28:56 +0000 |
commit | f19d6a5e1d53feedf76a7edd7756386d9e52339b (patch) | |
tree | 152203f61b56c9896c53e867b2961cc018ca4ce5 /apps/tagcache.c | |
parent | befabb2bab2736667d681c192bf4cb51b3aca032 (diff) | |
download | rockbox-f19d6a5e1d53feedf76a7edd7756386d9e52339b.tar.gz rockbox-f19d6a5e1d53feedf76a7edd7756386d9e52339b.zip |
Fix even more 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29819 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r-- | apps/tagcache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 5abb32a109..75191d678e 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -1396,7 +1396,9 @@ static bool get_next(struct tagcache_search *tcs) { static char buf[TAG_MAXLEN+32]; struct tagfile_entry entry; +#if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) long flag = 0; +#endif if (!tcs->valid || !tc_stat.ready) return false; @@ -1433,7 +1435,9 @@ static bool get_next(struct tagcache_search *tcs) } seeklist = &tcs->seeklist[tcs->list_position]; +#if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) flag = seeklist->flag; +#endif tcs->position = seeklist->seek; tcs->idx_id = seeklist->idx_id; tcs->list_position++; |