diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:34:41 -0700 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:34:41 -0700 |
| commit | 874d317334fae1ddce316f9b6f4d0ce4e434bf52 (patch) | |
| tree | 929f924d3c3696d3aa9917aca0e7048bbe3e93e8 /libuxre/regerror.c | |
| parent | 15bd7946cc838a3151c357e4b0bc1ab85eecda62 (diff) | |
heirloom vi fixes from arch AUR
Diffstat (limited to 'libuxre/regerror.c')
| -rw-r--r-- | libuxre/regerror.c | 5 |
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) { |
