From 5bca97f7b976d4a37ab3bb041d28b211b59c0cbb Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Sat, 7 Apr 2007 13:40:20 -0700 Subject: [PATCH] Fix compiler warnings --- ChangeLog | 10 ++++++++-- regex.c | 5 +---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 11e66b146..99f3b6cd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,17 @@ +2007-04-07 13:10 -0700 Brendan Cully (ab937d1f12b8) + + * smtp.c: Mark error message for translation + +2007-04-06 18:03 -0700 Vincent Lefevre (1ab836e94c70) + + * po/fr.po: Updated French translation + 2007-04-06 14:00 -0700 Brendan Cully (cde224ad2662) * UPDATING: Update UPDATING * build-release: More build-release fixes -2007-04-06 13:55 -0700 Brendan Cully (ddc5eabe4cb8) - * .hgsigs: mutt-1.5.15 signed * .hgtags: Added tag mutt-1-5-15-rel for changeset 4fd2d768fe5c diff --git a/regex.c b/regex.c index 1a8186f1d..af7a20a0a 100644 --- a/regex.c +++ b/regex.c @@ -2197,7 +2197,7 @@ regex_compile (pattern, size, syntax, bufp) { PATFETCH (c); if (c == ':' || c == ']' || p == pend - || c1 == (unsigned char)CHAR_CLASS_MAX_LENGTH) + || (unsigned int)c1 == CHAR_CLASS_MAX_LENGTH) break; str[c1++] = c; } @@ -3117,9 +3117,6 @@ re_compile_fastmap (bufp) #ifndef REGEX_MALLOC char *destination; #endif - /* We don't push any register information onto the failure stack. */ - unsigned num_regs = 0; - register char *fastmap = bufp->fastmap; unsigned char *pattern = bufp->buffer; unsigned char *p = pattern; -- 2.50.1