1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-16 15:02:33 +03:00

Fix headerscheck warning.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/93731.1742310701@sss.pgh.pa.us
This commit is contained in:
Jeff Davis
2025-03-18 08:37:07 -07:00
parent 4078da6c47
commit 549ea06e42
3 changed files with 11 additions and 25 deletions

View File

@@ -466,20 +466,6 @@ foreach my $entry (@{ $map{special} })
print $OT "\n};\n";
print $OT <<"EOS";
/*
* Map for each case kind.
*/
static const pg_wchar *casekind_map[NCaseKind] =
{
[CaseLower] = case_map_lower,
[CaseTitle] = case_map_title,
[CaseUpper] = case_map_upper,
[CaseFold] = case_map_fold,
};
EOS
my @codepoints = keys %simple;
my $range = make_ranges(\@codepoints, 500);
my @case_map_lines = range_tables($range);