summaryrefslogtreecommitdiffstats
path: root/otherlibs/str/strstubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/str/strstubs.c')
-rw-r--r--otherlibs/str/strstubs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/otherlibs/str/strstubs.c b/otherlibs/str/strstubs.c
index ae86c91b6..a399c24eb 100644
--- a/otherlibs/str/strstubs.c
+++ b/otherlibs/str/strstubs.c
@@ -401,7 +401,6 @@ CAMLprim value re_search_forward(value re, value str, value startpos)
unsigned char * txt = &Byte_u(str, Long_val(startpos));
unsigned char * endtxt = &Byte_u(str, string_length(str));
unsigned char * startchars;
- unsigned char c;
if (txt < starttxt || txt > endtxt)
invalid_argument("Str.search_forward");
@@ -431,7 +430,6 @@ CAMLprim value re_search_backward(value re, value str, value startpos)
unsigned char * txt = &Byte_u(str, Long_val(startpos));
unsigned char * endtxt = &Byte_u(str, string_length(str));
unsigned char * startchars;
- unsigned char c;
if (txt < starttxt || txt > endtxt)
invalid_argument("Str.search_backward");