From: Christos Zoulas Date: Tue, 19 Jan 2016 15:09:21 +0000 (+0000) Subject: missing break for DER weight X-Git-Tag: FILE5_26~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=085376375b4d6097606b434ded4bf9ce19ad8562;p=file missing break for DER weight --- diff --git a/src/apprentice.c b/src/apprentice.c index 9748c289..d63f20f6 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.244 2015/11/13 16:45:01 christos Exp $") +FILE_RCSID("@(#)$File: apprentice.c,v 1.245 2016/01/19 04:17:07 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);