mesa: Mark as XXX unresolved warnings on windows.
authorMichal Krol <michal@tungstengraphics.com>
Fri, 25 Jul 2008 08:41:53 +0000 (10:41 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Fri, 25 Jul 2008 08:41:53 +0000 (10:41 +0200)
src/mesa/main/texstore.c
src/mesa/shader/shader_api.c

index edb1ae965d0f0a33aa0c90fa24e57b14949fc9de..a0ea245507dae2a0ebd3cd4026fe6d1ee35db617 100644 (file)
@@ -408,6 +408,11 @@ make_temp_float_image(GLcontext *ctx, GLuint dims,
             const GLint logComponents
                = _mesa_components_in_format(logicalBaseFormat);
             const GLfloat *src = convImage;
+
+            /* XXX: Both `convWidth' and `convHeight' are uninitialised -- windows compiler
+             *      will issue warnings for the following line.
+             *      Presumably this happens when `FEATURE_convolve' is defined to `0'.
+             */
             GLfloat *dst = tempImage + img * (convWidth * convHeight * 4);
             for (row = 0; row < convHeight; row++) {
                _mesa_pack_rgba_span_float(ctx, convWidth,
index e894b7b2113be54661f395d077755c3bf6a0271b..6423c41c1224774a742d880cca0bfaef4b56c278 100644 (file)
@@ -539,6 +539,10 @@ _mesa_bind_attrib_location(GLcontext *ctx, GLuint program, GLuint index,
       oldIndex = -1;
    }
 
+   /* XXX: `datatype' is uninitialised at this point -- windows compiler
+    *      will issue a warning for the following line.
+    */
+
    /* this will replace the current value if it's already in the list */
    i = _mesa_add_attribute(shProg->Attributes, name, size, datatype, index);
    if (i < 0) {