diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-16 18:23:00 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-16 18:23:00 +0000 |
commit | 805e22b2051e9c6a75377ea6599654d7415da483 (patch) | |
tree | c259697c448b0c6f548f153c48c46a8d7a75970f /fastjar/jargrep.c | |
parent | 2c27ce73ee2229b0871c4ccad2342d8a4be85eff (diff) | |
download | gcc-805e22b2051e9c6a75377ea6599654d7415da483.tar.gz |
Merge basic-improvements-branch to trunk
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60174 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fastjar/jargrep.c')
-rw-r--r-- | fastjar/jargrep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fastjar/jargrep.c b/fastjar/jargrep.c index 1a9ee91be5d..01c04500c5b 100644 --- a/fastjar/jargrep.c +++ b/fastjar/jargrep.c @@ -373,7 +373,6 @@ returns: TRUE if it is a word, FALSE of it is a substring. static int chk_wrd(regex_t *exp, const char *str) { int wrd_fnd = FALSE; - int regflag; int frnt_ok; int bck_ok; const char *str2; @@ -381,7 +380,7 @@ static int chk_wrd(regex_t *exp, const char *str) { str2 = str; frnt_ok = bck_ok = FALSE; - while(!wrd_fnd && !(regflag = regexec(exp, str2, 1, &match, 0))) { + while(!wrd_fnd && !regexec(exp, str2, 1, &match, 0)) { if(!match.rm_so && (str2 == str)) frnt_ok = TRUE; else if(!isalnum((unsigned char)str2[match.rm_so - 1]) && str2[match.rm_so - 1] != '_') |