From: dforsi <df...@us...> - 2012-03-26 22:07:38
|
commit 78f5d99c642093c79f2f64c6c036dab3368bd828 Author: Daniele Forsi <df...@sr...> Date: Tue Mar 27 00:06:09 2012 +0200 Remove unneeded assignments found by clang Fixes: itdb_itunesdb.c:2000:5: warning: Value stored to 'len' is never read itdb_itunesdb.c:2395:3: warning: Value stored to 'i' is never read src/itdb_itunesdb.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) --- diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c index 4046a50..f2152c8 100644 --- a/src/itdb_itunesdb.c +++ b/src/itdb_itunesdb.c @@ -1997,7 +1997,6 @@ static glong find_next_a_in_b (FContents *cts, if (cts->error) return -1; offset = start_seek - b_seek; - len = 0; do { /* skip headers inside the b hunk (b_len) until we find header @a */ @@ -2392,7 +2391,7 @@ static glong get_playlist (FImport *fimp, guint mhsd_type, glong mhyp_seek) mhip_seek = mhod_seek; - i=0; /* tracks read */ + /* tracks read */ for (i=0; i < mhipnum; ++i) { mhip_seek = get_mhip (fimp, mhip_seek); |