OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e2954c
)
remove apparently unused code, this time for real
author
Thorsten Glaser
<tg@mirbsd.org>
Thu, 1 Jan 2015 19:13:18 +0000
(19:13 +0000)
committer
Waldemar Brodkorb
<wbx@openadk.org>
Thu, 1 Jan 2015 19:34:49 +0000
(13:34 -0600)
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
libc/misc/regex/regex_internal.c
patch
|
blob
|
history
diff --git
a/libc/misc/regex/regex_internal.c
b/libc/misc/regex/regex_internal.c
index
f9412d6
..
c74c6a0
100644
(file)
--- 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));