mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 18:22:07 +08:00
Fix unused function warning without iconv
This commit is contained in:
@@ -260,6 +260,7 @@ mdb_target_charset(MdbHandle *mdb)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* See: https://docs.microsoft.com/en-us/windows/win32/Intl/code-page-identifiers */
|
/* See: https://docs.microsoft.com/en-us/windows/win32/Intl/code-page-identifiers */
|
||||||
|
#ifdef HAVE_ICONV
|
||||||
static const char *mdb_iconv_name_from_code_page(int code_page) {
|
static const char *mdb_iconv_name_from_code_page(int code_page) {
|
||||||
const char *jet3_iconv_code = NULL;
|
const char *jet3_iconv_code = NULL;
|
||||||
switch (code_page) {
|
switch (code_page) {
|
||||||
@@ -315,6 +316,7 @@ static const char *mdb_iconv_name_from_code_page(int code_page) {
|
|||||||
}
|
}
|
||||||
return jet3_iconv_code;
|
return jet3_iconv_code;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void mdb_iconv_init(MdbHandle *mdb)
|
void mdb_iconv_init(MdbHandle *mdb)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user