pgsql: Remove duplicate lines of code - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Remove duplicate lines of code
Date
Msg-id E1pqsba-004ehk-1s@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove duplicate lines of code

Commit 6df7a9698bb accidentally included two identical prototypes for
default_multirange_selectivi() and commit 086cf1458c6 added a break;
statement where one was already present, thus duplicating it.  While
there is no bug caused by this, fix by removing the duplicated lines
as they provide no value.

Backpatch the fix for duplicate prototypes to v14 and the duplicate
break statement fix to all supported branches to avoid backpatching
hazards due to the removal.

Reported-by: Anton Voloshin <a.voloshin@postgrespro.ru>
Discussion: https://postgr.es/m/0e69cb60-0176-f6d0-7e15-6478b7d85724@postgrespro.ru

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/082b59335dbba2da64d77d4f55c8e2559fe548e2

Modified Files
--------------
src/interfaces/ecpg/preproc/variable.c | 1 -
1 file changed, 1 deletion(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Remove duplicate lines of code
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: ci: Remove OpenSSL 3.1 workaround for missing system CA