summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-11-02 17:40:58 -0600
committerBrian Paul <[email protected]>2010-11-02 17:41:00 -0600
commit61f25216e3b55ee0b3c4f479da9bad3e5f0cae77 (patch)
treee2e068c47b7e0cc9127ebce999be86dc372b50d9 /src/mesa
parent6f90a7cbff502e2584eccd5a3142f0c250fb7553 (diff)
mesa: silence new warnings in texobj.c
Silences warning such as: main/texobj.c:442:40: warning: ISO C99 requires rest arguments to be used main/texobj.c:498:58: warning: ISO C99 requires rest arguments to be used
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/texobj.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index f0bc447e33b..13267609614 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -380,10 +380,10 @@ _mesa_reference_texobj(struct gl_texture_object **ptr,
*
* \note For debug purposes only.
*/
-#if 0
static void
incomplete(const struct gl_texture_object *t, const char *fmt, ...)
{
+#if 0
va_list args;
char s[100];
@@ -392,10 +392,8 @@ incomplete(const struct gl_texture_object *t, const char *fmt, ...)
va_end(args);
printf("Texture Obj %d incomplete because: %s\n", t->Name, s);
-}
-#else
-#define incomplete(t, why, ...)
#endif
+}
/**