From ae26c55033ba4e73a3354efacf5e7fd2cdce51df Mon Sep 17 00:00:00 2001 From: dwrz Date: Sun, 17 Mar 2019 03:28:32 +0000 Subject: [PATCH] Refactor c/word-count/is_quote_char Remove useless break statements. --- c/word-count/src/word_count.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/c/word-count/src/word_count.c b/c/word-count/src/word_count.c index 7d74dc3..cdf48ff 100644 --- a/c/word-count/src/word_count.c +++ b/c/word-count/src/word_count.c @@ -67,10 +67,8 @@ bool is_quote_char(char c) { switch (c) { case '\'': return true; - break; case '"': return true; - break; } return false; }