summaryrefslogtreecommitdiff
path: root/libuxre/regerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'libuxre/regerror.c')
-rw-r--r--libuxre/regerror.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libuxre/regerror.c b/libuxre/regerror.c
index 397e3e5..c6958d8 100644
--- a/libuxre/regerror.c
+++ b/libuxre/regerror.c
@@ -69,19 +69,16 @@ regerror(int err, const regex_t *ep, char *str, size_t max)
};
const char *p;
size_t len;
- int i;
+ (void)ep;
if (err < REG_ENOSYS || REG_ILLSEQ < err)
{
- i = unk.index;
p = unk.str;
}
else
{
- i = msgs[err - REG_ENOSYS].index;
p = msgs[err - REG_ENOSYS].str;
}
-/* p = __gtxt(_str_uxlibc, i, p); */
len = strlen(p) + 1;
if (max != 0)
{