mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-04 17:36:52 +02:00
Remove duplicate lines of code
Commit6df7a9698b
accidentally included two identical prototypes for default_multirange_selectivi() and commit086cf1458c
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
This commit is contained in:
parent
48c6825d0e
commit
50b23e4374
@ -105,7 +105,6 @@ find_struct_member(char *name, char *str, struct ECPGstruct_member *members, int
|
|||||||
else
|
else
|
||||||
return find_struct_member(name, ++end, members->type->u.members, brace_level);
|
return find_struct_member(name, ++end, members->type->u.members, brace_level);
|
||||||
break;
|
break;
|
||||||
break;
|
|
||||||
case '.':
|
case '.':
|
||||||
if (members->type->type == ECPGt_array)
|
if (members->type->type == ECPGt_array)
|
||||||
return find_struct_member(name, end, members->type->u.element->u.members, brace_level);
|
return find_struct_member(name, end, members->type->u.element->u.members, brace_level);
|
||||||
|
Loading…
Reference in New Issue
Block a user