remove useless returns

From: "Tang, Haiying" <tanghy(dot)fnst(at)cn(dot)fujitsu(dot)com>
To: "alvherre(at)2ndquadrant(dot)com" <alvherre(at)2ndquadrant(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: remove useless returns
Date: 2020-09-28 06:42:36
Message-ID: 00288096f07d4056b27b9eaf072f2b9c@G08CNEXMBPEKD05.g08.fujitsu.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

Found two more useless "return;" lines from the following code.
.src/backend/regex/regcomp.c
.src/interfaces/libpq/fe-secure.c

Maybe it's better to remove them together?

Previous discussion:
https://www.postgresql.org/message-id/20191128144653.GA27883@alvherre.pgsql

Best Regards,
Tang
------------------------------------------------
唐海英 (とう かいえい)
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
ADDR.: No.6 Wenzhu Road, Software Avenue,
        Nanjing, 210012, China
TEL  : +86+25-86630566-8336
COINS: 7998-8313
FAX  : +86+25-83317685
Mail:tanghy(dot)fnst(at)cn(dot)fujitsu(dot)com
------------------------------------------------

Attachment Content-Type Size
0001-Remove-useless-return-lines(2).patch application/octet-stream 1.0 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Jesse Zhang 2020-09-28 06:43:43 Re: Partition prune with stable Expr
Previous Message Wang, Shenhao 2020-09-28 06:28:37 a problem about XLogReader callback system