From 2f9129b86903d5f0756217fa719d7f1d894acebf Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 4 Dec 2025 11:18:02 +1100 Subject: Feature [feature-requests:#1564]. Remove DBCSSetFoldMap as never called. --- src/DBCS.cxx | 4 ---- src/DBCS.h | 1 - 2 files changed, 5 deletions(-) diff --git a/src/DBCS.cxx b/src/DBCS.cxx index f53b8e9ed..f4aaff433 100644 --- a/src/DBCS.cxx +++ b/src/DBCS.cxx @@ -107,10 +107,6 @@ bool DBCSHasFoldMap(int codePage) { return it != cpToFoldMap.end(); } -void DBCSSetFoldMap(int codePage, const FoldMap &foldMap) { - cpToFoldMap[codePage] = foldMap; -} - FoldMap *DBCSGetMutableFoldMap(int codePage) { // Constructs if needed return &cpToFoldMap[codePage]; diff --git a/src/DBCS.h b/src/DBCS.h index ccd71536a..2b66db261 100644 --- a/src/DBCS.h +++ b/src/DBCS.h @@ -42,7 +42,6 @@ struct DBCSPair { using FoldMap = std::array; bool DBCSHasFoldMap(int codePage); -void DBCSSetFoldMap(int codePage, const FoldMap &foldMap); FoldMap *DBCSGetMutableFoldMap(int codePage); const FoldMap *DBCSGetFoldMap(int codePage); -- cgit v1.2.3