summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-02-25 17:25:20 -0800
committerJeremy Allison <jra@samba.org>2011-02-25 17:49:26 -0800
commitebb2fb7efb1beea63720d3753685bb2eab5f19ee (patch)
treebfca641c65422bb9c1c7878170936a106774bee1 /source3
parent242a63e95ab5ee286dd02dc0b25dceb6b4f82561 (diff)
downloadsamba-ebb2fb7efb1beea63720d3753685bb2eab5f19ee.tar.gz
samba-ebb2fb7efb1beea63720d3753685bb2eab5f19ee.tar.bz2
samba-ebb2fb7efb1beea63720d3753685bb2eab5f19ee.zip
Removed unused code check_dos_char_slowly.
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_unistr.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c
index 02a95bdbed..14b5a8706b 100644
--- a/source3/lib/util_unistr.c
+++ b/source3/lib/util_unistr.c
@@ -42,23 +42,6 @@ void gfree_case_tables(void)
initialized = false;
}
-static int check_dos_char_slowly(smb_ucs2_t c)
-{
- char buf[10];
- smb_ucs2_t c2 = 0;
- int len1, len2;
-
- len1 = convert_string(CH_UTF16LE, CH_DOS, &c, 2, buf, sizeof(buf),False);
- if (len1 == 0) {
- return 0;
- }
- len2 = convert_string(CH_DOS, CH_UTF16LE, buf, len1, &c2, 2,False);
- if (len2 != 2) {
- return 0;
- }
- return (c == c2);
-}
-
/**
* Load the valid character map table from <tt>valid.dat</tt> or
* create from the configured codepage.