INN commit: trunk/lib (uwildmat.c)

INN Commit Russ_Allbery at isc.org
Mon Mar 9 19:45:13 UTC 2009


    Date: Monday, March 9, 2009 @ 12:45:13
  Author: iulius
Revision: 8378

Silent a warning (unitialized value -- which is initialized by design).

Modified:
  trunk/lib/uwildmat.c

------------+
 uwildmat.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: uwildmat.c
===================================================================
--- uwildmat.c	2009-03-09 19:44:19 UTC (rev 8377)
+++ uwildmat.c	2009-03-09 19:45:13 UTC (rev 8378)
@@ -147,7 +147,8 @@
 {
     bool reversed, allowrange;
     const unsigned char *p = start;
-    uint32_t first, last;
+    uint32_t first = 0;
+    uint32_t last;
 
     /* Check for an inverted character class (starting with ^).  If the
        character matches the character class, we return !reversed; that way,




More information about the inn-committers mailing list