From ff2e850f1c46262e60cc0d0ef538572c47a2bbe7 Mon Sep 17 00:00:00 2001 From: rlar Date: Thu, 3 Oct 2013 11:54:58 +0200 Subject: [PATCH] inp_search_closing_paren(), rewrite --- src/frontend/inpcom.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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; }