refs.c: remove two lines of dead code Signed-off-by: schu <schu-github@schulog.org>
diff --git a/src/refs.c b/src/refs.c
index ecd53a6..77521bc 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -1659,8 +1659,6 @@ static int check_valid_ref_char(char ch)
case '[':
case '*':
return GIT_ERROR;
- break;
-
default:
return GIT_SUCCESS;
}