d3dxof: fix a compiler warning on OpenSolaris

Austin English austinenglish at gmail.com
Fri Mar 27 23:50:17 CDT 2009


Also shows up on PC-BSD

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c
index 1205e48..3df1fc5 100644
--- a/dlls/d3dxof/parsing.c
+++ b/dlls/d3dxof/parsing.c
@@ -1191,7 +1191,7 @@ static BOOL parse_object_parts(parse_buffer * buf, BOOL allow_optional)
     {
       if (check_TOKEN(buf) == TOKEN_OBRACE)
       {
-        int i, j;
+        int i, j = 0;
         get_TOKEN(buf);
         if (get_TOKEN(buf) != TOKEN_NAME)
           return FALSE;


More information about the wine-patches mailing list