Skip to content

Commit ee8e0ad

Browse files
committed
code cleaning
1 parent 99d03f1 commit ee8e0ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/parser.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,7 @@ plpgsql_check_search_comment_options(plpgsql_check_info *cinfo)
18921892

18931893
src += 1;
18941894

1895-
while (*src)
1895+
if (*src)
18961896
{
18971897
size_t i;
18981898

@@ -1904,7 +1904,6 @@ plpgsql_check_search_comment_options(plpgsql_check_info *cinfo)
19041904

19051905
/* found complete custom string separator */
19061906
src += cust_str_length;
1907-
break;
19081907
}
19091908
}
19101909
else

0 commit comments

Comments
 (0)