8000 Remove duplicate lines of code · postgres/postgres@082b593 · GitHub
[go: up one dir, main page]

Skip to content

Commit 082b593

Browse files
Remove duplicate lines of code
Commit 6df7a96 accidentally included two identical prototypes for default_multirange_selectivi() and commit 086cf14 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
1 parent 106a1bf commit 082b593

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/interfaces/ecpg/preproc/variable.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ find_struct_member(char *name, char *str, struct ECPGstruct_member *members, int
105105
else
106106
return find_struct_member(name, ++end, members->type->u.members, brace_level);
107107
break;
108-
break;
109108
case '.':
110109
if (members->type->type == ECPGt_array)
111110
return find_struct_member(name, end, members->type->u.element->u.members, brace_level);

0 commit comments

Comments
 (0)
0