]> granicus.if.org Git - neomutt/commitdiff
Fix compiler warnings
authorBrendan Cully <brendan@kublai.com>
Sat, 7 Apr 2007 20:40:20 +0000 (13:40 -0700)
committerBrendan Cully <brendan@kublai.com>
Sat, 7 Apr 2007 20:40:20 +0000 (13:40 -0700)
ChangeLog
regex.c

index 11e66b146d6cf64aa6a1de84f250c942022bce0d..99f3b6cd384ca25a8929dc324f5a38421c308700 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,17 @@
+2007-04-07 13:10 -0700  Brendan Cully  <brendan@kublai.com>  (ab937d1f12b8)
+
+       * smtp.c: Mark error message for translation
+
+2007-04-06 18:03 -0700  Vincent Lefevre  <vincent@vinc17.org>  (1ab836e94c70)
+
+       * po/fr.po: Updated French translation
+
 2007-04-06 14:00 -0700  Brendan Cully  <brendan@kublai.com>  (cde224ad2662)
 
        * UPDATING: Update UPDATING
 
        * build-release: More build-release fixes
 
-2007-04-06 13:55 -0700  Brendan Cully  <brendan@kublai.com>  (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 1a8186f1d23bb30af24263854bb37ea015c066cf..af7a20a0a3f18906b11530e7cc8ecba78ece827d 100644 (file)
--- 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;