]> granicus.if.org Git - file/commitdiff
missing break for DER weight
authorChristos Zoulas <christos@zoulas.com>
Tue, 19 Jan 2016 15:09:21 +0000 (15:09 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 19 Jan 2016 15:09:21 +0000 (15:09 +0000)
src/apprentice.c

index 0a6d9b615af4f11d7fa956204095cf757ce4e6a7..1a9a921207301fc15ba07041d0918485a9d5575d 100644 (file)
@@ -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);