From 6308114003c9933e09f3d6362af7e14638b6c223 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 20 May 2011 11:30:40 +0200 Subject: [PATCH] objformat(1): Remove an unneeded default case. Since cmd_type is an enum now, gcc will handle missing and unknown values. --- usr.bin/objformat/objformat.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/usr.bin/objformat/objformat.c b/usr.bin/objformat/objformat.c index f82f9c94f6..85e3a33ce2 100644 --- a/usr.bin/objformat/objformat.c +++ b/usr.bin/objformat/objformat.c @@ -135,9 +135,6 @@ main(int argc, char **argv) break; case OBJFORMAT: break; - default: - errx(1, "unknown command type"); - break; } } -- 2.41.0