summaryrefslogtreecommitdiff
path: root/src/mesa/shader/shader_api.c
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-07-25 10:41:53 +0200
committerMichal Krol <michal@tungstengraphics.com>2008-07-25 10:41:53 +0200
commit2acf917f00b570274b58ad7e58688715730253d0 (patch)
treed5114a7faec7d1fd7ce555ddb27bc5138fb7dcc3 /src/mesa/shader/shader_api.c
parent7b2ef2b8849bbf400eeed9642c26c140cc7d6beb (diff)
mesa: Mark as XXX unresolved warnings on windows.
Diffstat (limited to 'src/mesa/shader/shader_api.c')
-rw-r--r--src/mesa/shader/shader_api.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c
index e894b7b211..6423c41c12 100644
--- a/src/mesa/shader/shader_api.c
+++ b/src/mesa/shader/shader_api.c
@@ -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) {