aboutsummaryrefslogtreecommitdiff
path: root/gdb/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/regex.c')
-rw-r--r--gdb/regex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/regex.c b/gdb/regex.c
index 59695cf..e4261b3 100644
--- a/gdb/regex.c
+++ b/gdb/regex.c
@@ -122,6 +122,7 @@ static int obscure_syntax = 0;
int
re_set_syntax (syntax)
+ int syntax;
{
int ret;
@@ -706,7 +707,7 @@ re_compile_fastmap (bufp)
register char *fastmap = bufp->fastmap;
register unsigned char *p = pattern;
register unsigned char *pend = pattern + size;
- register int j, k;
+ register int j;
unsigned char *translate = (unsigned char *) bufp->translate;
unsigned char *stackb[NFAILURES];