summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2015-01-01 19:13:18 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-01 19:34:49 (GMT)
commit1103aefd8fb3c61df870a6970e74ff5020e85562 (patch)
treed353385dd47a83cbd86dce091da720aaadd77adb /libc/misc
parent2e2954c602c7ca97c73131b918c1383fc4923413 (diff)
remove apparently unused code, this time for real
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/regex/regex_internal.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libc/misc/regex/regex_internal.c b/libc/misc/regex/regex_internal.c
index f9412d6..c74c6a0 100644
--- a/libc/misc/regex/regex_internal.c
+++ b/libc/misc/regex/regex_internal.c
@@ -650,15 +650,8 @@ re_string_reconstruct (re_string_t *pstr, int idx, int eflags)
mbstate_t cur_state;
wchar_t wc2;
int mlen = raw + pstr->len - p;
- unsigned char buf[6];
size_t mbclen;
- if (BE (pstr->trans != NULL, 0))
- {
- int i = mlen < 6 ? mlen : 6;
- while (--i >= 0)
- buf[i] = pstr->trans[p[i]];
- }
/* XXX Don't use mbrtowc, we know which conversion
to use (UTF-8 -> UCS4). */
memset (&cur_state, 0, sizeof (cur_state));