Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 082e571

Browse files
committedApr 24, 2023
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 5bcb15b commit 082e571

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)
Failed to load comments.