commit ae26c55033ba4e73a3354efacf5e7fd2cdce51df
parent 6f0dc97c535183d6a0cd4ace827fa4c3ef628ad3
Author: dwrz <dwrz@dwrz.net>
Date: Sun, 17 Mar 2019 03:28:32 +0000
Refactor c/word-count/is_quote_char
Remove useless break statements.
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git 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;
}