summaryrefslogtreecommitdiff
path: root/archival/libarchive/lzo1x_9x.c
diff options
context:
space:
mode:
authorDenys Vlasenko2013-11-29 16:43:33 +0100
committerDenys Vlasenko2013-11-29 16:43:33 +0100
commit9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1 (patch)
treea950fa73740d345e11ba1ce90f4fc39ee12516e6 /archival/libarchive/lzo1x_9x.c
parent1a7256ac38284caffd2a0de2250364369059be69 (diff)
downloadbusybox-9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1.zip
busybox-9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1.tar.gz
fix assorted unused code and wrong format specs found by cppchekc (bug 6716)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/libarchive/lzo1x_9x.c')
-rw-r--r--archival/libarchive/lzo1x_9x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/archival/libarchive/lzo1x_9x.c b/archival/libarchive/lzo1x_9x.c
index 3e33198..2b490ae 100644
--- a/archival/libarchive/lzo1x_9x.c
+++ b/archival/libarchive/lzo1x_9x.c
@@ -466,7 +466,6 @@ static int find_match(lzo1x_999_t *c, lzo_swd_p s,
}
s->m_len = 1;
- s->m_len = 1;
#ifdef SWD_BEST_OFF
if (s->use_best_off)
memset(s->best_pos, 0, sizeof(s->best_pos));