diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2002-12-16 18:23:00 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-12-16 18:23:00 +0000 |
commit | 4977bab6ed59f01c73f9c8b9e92298706df9b6d5 (patch) | |
tree | c259697c448b0c6f548f153c48c46a8d7a75970f /fastjar/jargrep.c | |
parent | b51dc045004ee7eb8d2bf4358ddf22a6cc6c1d00 (diff) | |
download | gcc-4977bab6ed59f01c73f9c8b9e92298706df9b6d5.zip gcc-4977bab6ed59f01c73f9c8b9e92298706df9b6d5.tar.gz gcc-4977bab6ed59f01c73f9c8b9e92298706df9b6d5.tar.bz2 |
Merge basic-improvements-branch to trunk
From-SVN: r60174
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 1a9ee91..01c0450 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] != '_') |