From 4f47fa473b7177d761cab9279288efa28361f6f1 Mon Sep 17 00:00:00 2001 From: hartzell Date: Mon, 31 Dec 2018 10:04:11 -0800 Subject: [PATCH] Avoid implicit fallthrough warnings Newer gcc's warn/error on the implicit fallthough. Add a break to make the intent clear. --- src/fasta_formatter/fasta_formatter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fasta_formatter/fasta_formatter.cpp b/src/fasta_formatter/fasta_formatter.cpp index bc5f35c..c20262d 100644 --- a/src/fasta_formatter/fasta_formatter.cpp +++ b/src/fasta_formatter/fasta_formatter.cpp @@ -103,6 +103,7 @@ void parse_command_line(int argc, char* argv[]) switch(opt) { case 'h': usage(); + break; case 'i': input_filename = optarg;