libDtSearch: remove NO_COUNTRY code which is always off for CDE

This commit is contained in:
Peter Howkins
2018-06-29 01:04:55 +01:00
parent 9d921ba219
commit 86b9a0fee4
10 changed files with 1 additions and 30 deletions

View File

@@ -54,7 +54,6 @@ TASK_DECL
dboptions |= optflag;
#ifndef NO_COUNTRY
if ( optflag & IGNORECASE ) {
if ( !db_global.ctbl_activ) {
if (ctbl_alloc() != S_OKAY )
@@ -65,7 +64,6 @@ TASK_DECL
/* map lower to upper */
db_global.country_tbl.ptr[i].sort_as1 = (char)(i-32);
}
#endif
RETURN( db_status = S_OKAY );
}
@@ -84,7 +82,6 @@ TASK_DECL
dboptions &= ~optflag;
#ifndef NO_COUNTRY
if ( optflag & IGNORECASE ) {
if ( db_global.ctbl_activ) {
for ( i = 97; i < 123; i++)
@@ -92,7 +89,6 @@ TASK_DECL
db_global.country_tbl.ptr[i].sort_as1 = (char)i;
}
}
#endif
RETURN( db_status = S_OKAY );
}