diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index fb5cb559d..8741d16ec 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -1801,9 +1801,8 @@ inp_search_closing_paren1(char *s) if (count == 0) return s; } - if (count != 0) - return NULL; - return s; + + return NULL; } @@ -1821,9 +1820,8 @@ inp_search_for_closing_paren2(char *s) if (count == 0) return s; } - if (count != 0) - return NULL; - return s; + + return NULL; }