summaryrefslogtreecommitdiff
path: root/src/libexecline/el_vardupl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexecline/el_vardupl.c')
-rw-r--r--src/libexecline/el_vardupl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexecline/el_vardupl.c b/src/libexecline/el_vardupl.c
index 279e79d..9efd586 100644
--- a/src/libexecline/el_vardupl.c
+++ b/src/libexecline/el_vardupl.c
@@ -6,7 +6,7 @@
int el_vardupl (char const *key, char const *s, size_t len)
{
- register size_t i = 0 ;
+ size_t i = 0 ;
for (; i < len ; i += str_len(s + i) + 1)
if (!str_diff(key, s + i)) return 1 ;
return 0 ;