From 5cd1ca7ddc979130b7701014631e477136c95a68 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Mon, 28 Jul 2008 17:25:21 +0000 Subject: [PATCH] remove unused var. --- src/softmagic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/softmagic.c b/src/softmagic.c index bdd1c302..bbc5df54 100644 --- a/src/softmagic.c +++ b/src/softmagic.c @@ -38,7 +38,7 @@ #ifndef lint -FILE_RCSID("@(#)$File: softmagic.c,v 1.118 2008/07/16 18:00:57 christos Exp $") +FILE_RCSID("@(#)$File: softmagic.c,v 1.119 2008/07/19 14:32:21 christos Exp $") #endif /* lint */ private int match(struct magic_set *, struct magic *, uint32_t, @@ -660,8 +660,6 @@ mconvert(struct magic_set *ms, struct magic *m) case FILE_STRING: case FILE_BESTRING16: case FILE_LESTRING16: { - size_t len; - /* Null terminate and eat *trailing* return */ p->s[sizeof(p->s) - 1] = '\0'; #if 0 -- 2.40.0