From 01cf806d4bc5a87170acbece47d42dd33a092d8d Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Thu, 19 Jan 2012 11:11:59 +1000 Subject: Fix some warnings identified by icc The Intel C Compiler Signed-off-by: Steve Bennett --- jimregexp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'jimregexp.c') diff --git a/jimregexp.c b/jimregexp.c index 2f57caf..efc56a1 100644 --- a/jimregexp.c +++ b/jimregexp.c @@ -1095,8 +1095,7 @@ int regexec(regex_t *preg, const char *string, size_t nmatch, regmatch_t pmat goto nextline; } while (1) { - int ret = regtry(preg, string); - if (ret) { + if (regtry(preg, string)) { return REG_NOERROR; } if (*string) { -- cgit v1.1