summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-04 22:08:22 -0400
committermidipix <writeonce@midipix.org>2016-05-04 22:08:22 -0400
commit614d85adfdc8a825ff158ac5a739b637e1989ffe (patch)
treed19d3ccdc8d9c4d642212327dcfdd780a70bc645
parentd477aaac1941bb98b6ce8c8180748930a7812937 (diff)
downloadslibtool-614d85adfdc8a825ff158ac5a739b637e1989ffe.tar.bz2
slibtool-614d85adfdc8a825ff158ac5a739b637e1989ffe.tar.xz
driver: --legabits: fixed control flow.
-rw-r--r--src/driver/slbt_driver_ctx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 44e92c8..2d6ff25 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -884,6 +884,8 @@ int slbt_get_driver_ctx(
else
cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_LEGABITS;
+ break;
+
case TAG_WARNINGS:
if (!strcmp("all",entry->arg))
cctx.warnings = SLBT_WARNING_LEVEL_ALL;