From 9602bad8c9c482e56de7405a157bdbc002ab480d Mon Sep 17 00:00:00 2001 Message-Id: <9602bad8c9c482e56de7405a157bdbc002ab480d.1716265147.git.mdw@distorted.org.uk> From: Mark Wooding Date: Fri, 20 Nov 2009 18:31:06 +0000 Subject: [PATCH] missing 'break's Organization: Straylight/Edgeware From: Richard Kettlewell --- clients/resample.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clients/resample.c b/clients/resample.c index 6c0bd3f..8ba1843 100644 --- a/clients/resample.c +++ b/clients/resample.c @@ -11,7 +11,7 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ @@ -116,6 +116,7 @@ int main(int argc, char **argv) { case 'n': case 'N': input_endian = ENDIAN_NATIVE; break; default: disorder_fatal(0, "unknown endianness '%s'", optarg); } + break; case 'B': output_bits = atoi(optarg); break; case 'C': output_channels = atoi(optarg); break; case 'R': output_rate = atoi(optarg); break; @@ -128,6 +129,7 @@ int main(int argc, char **argv) { case 'n': case 'N': output_endian = ENDIAN_NATIVE; break; default: disorder_fatal(0, "unknown endianness '%s'", optarg); } + break; default: fatal(0, "invalid option"); } } -- [mdw]