]> git.saurik.com Git - wxWidgets.git/commitdiff
fix some 'might not be initialized in this function' warnings
authorRyan Norton <wxprojects@comcast.net>
Tue, 22 Feb 2005 07:15:57 +0000 (07:15 +0000)
committerRyan Norton <wxprojects@comcast.net>
Tue, 22 Feb 2005 07:15:57 +0000 (07:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/regex/regc_color.c

index 5aed21c63084a5f2fce6ad659cd6b8c5f0c0de55..b3df484f083e26133c92a92a5ddb9ff8e5eb6eb0 100644 (file)
@@ -446,11 +446,11 @@ struct state *rp;
        int shift;
        int level;
        int i;
-       int b;
+       int b = 0;
        union tree *t;
        union tree *cb;
        union tree *fillt;
-       union tree *lastt;
+       union tree *lastt = NULL;
        int previ;
        int ndone;
        color co;