From 978a7157f54ea10066a92ece0e0d09cee028a6b7 Mon Sep 17 00:00:00 2001 From: Marc Volker Dickmann Date: Thu, 20 Apr 2017 16:55:13 +0200 Subject: [PATCH] Update libwav.c (#17) Remove a line of dead (unreachable) code. --- libwav.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libwav.c b/libwav.c index cd88bb1..7ed63a3 100644 --- a/libwav.c +++ b/libwav.c @@ -137,9 +137,8 @@ wav_chunk_write (const wav_chunk *chunk, FILE *f) fwrite (chunk->content.data, sizeof (int), chunk->chunk_size / sizeof (int), f); return WAV_OK; default: - break; + return WAV_UNKNOWN_CHUNKID; } - return WAV_UNKNOWN_CHUNKID; } enum wav_error