From 1d3248fa8f29a86ae5d316f45f2f603e544155cd Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Tue, 19 Jan 2016 15:09:21 +0000 Subject: [PATCH] missing break for DER weight --- src/apprentice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apprentice.c b/src/apprentice.c index 0a6d9b61..1a9a9212 100644 --- a/src/apprentice.c +++ b/src/apprentice.c @@ -32,7 +32,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: apprentice.c,v 1.245 2016/01/19 04:17:07 christos Exp $") +FILE_RCSID("@(#)$File: apprentice.c,v 1.246 2016/01/19 15:09:21 christos Exp $") #endif /* lint */ #include "magic.h" @@ -870,6 +870,7 @@ apprentice_magic_strength(const struct magic *m) case FILE_DER: val += MULT; + break; default: (void)fprintf(stderr, "Bad type %d\n", m->type); -- 2.50.1