From 13ec84d7ef3ed871445a23afb0df87c6355a84a1 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Fri, 24 May 2024 18:42:00 -0700 Subject: [PATCH] Unnecessary return --- src/modal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/modal.c b/src/modal.c index 661a36b..0c1af6e 100644 --- a/src/modal.c +++ b/src/modal.c @@ -237,10 +237,9 @@ parse_frag(char **side, char *s) { char c, *cap; while((c = *s) && c == ' ') s++; - if(c == ')' || (c == '<' && s[1] == '>') || (c == '>' && s[1] == '<')) { + if(c == ')' || (c == '<' && s[1] == '>') || (c == '>' && s[1] == '<')) *side = dict_, *dict_++ = 0; - return s; - } else { + else { cap = walk(s), *side = dict_; if(c == '(') dict_ = copy(s + 1, dict_, cap - s - 2);