From ecaf1a0865e24d4f3f82cf076c54c033f68a4914 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 17 Sep 1999 12:27:01 +0000 Subject: silenced some warnings --- progs/demos/morph3d.c | 11 ++++++++--- progs/demos/renormal.c | 6 ++++-- progs/demos/stex3d.c | 11 ++++++++--- 3 files changed, 20 insertions(+), 8 deletions(-) (limited to 'progs/demos') diff --git a/progs/demos/morph3d.c b/progs/demos/morph3d.c index 30ca922144..af052926d7 100644 --- a/progs/demos/morph3d.c +++ b/progs/demos/morph3d.c @@ -1,9 +1,12 @@ -/* $Id: morph3d.c,v 1.1 1999/08/19 00:55:40 jtg Exp $ */ +/* $Id: morph3d.c,v 1.2 1999/09/17 12:27:01 brianp Exp $ */ /* * $Log: morph3d.c,v $ - * Revision 1.1 1999/08/19 00:55:40 jtg - * Initial revision + * Revision 1.2 1999/09/17 12:27:01 brianp + * silenced some warnings + * + * Revision 1.1.1.1 1999/08/19 00:55:40 jtg + * Imported sources * * Revision 3.1 1998/06/29 02:37:30 brianp * minor changes for Windows (Ted Jump) @@ -717,6 +720,8 @@ static void pinit(void); static void key( unsigned char k, int x, int y ) { + (void) x; + (void) y; switch (k) { case '1': object=1; break; case '2': object=2; break; diff --git a/progs/demos/renormal.c b/progs/demos/renormal.c index 8a86ac7cff..dc5d980722 100644 --- a/progs/demos/renormal.c +++ b/progs/demos/renormal.c @@ -1,4 +1,4 @@ -/* $Id: renormal.c,v 1.2 1999/09/17 02:40:51 tjump Exp $ */ +/* $Id: renormal.c,v 1.3 1999/09/17 12:27:01 brianp Exp $ */ /* * Test GL_EXT_rescale_normal extension @@ -6,7 +6,7 @@ */ /* - * $Id: renormal.c,v 1.2 1999/09/17 02:40:51 tjump Exp $ + * $Id: renormal.c,v 1.3 1999/09/17 12:27:01 brianp Exp $ */ @@ -98,6 +98,8 @@ static void ModeMenu(int entry) static void key(unsigned char k, int x, int y) { + (void) x; + (void) y; switch (k) { case 27: /* Escape */ exit(0); diff --git a/progs/demos/stex3d.c b/progs/demos/stex3d.c index 7c478c79b4..2a35ca161f 100644 --- a/progs/demos/stex3d.c +++ b/progs/demos/stex3d.c @@ -1,4 +1,4 @@ -/* $Id: stex3d.c,v 1.1 1999/08/19 00:55:40 jtg Exp $ */ +/* $Id: stex3d.c,v 1.2 1999/09/17 12:27:01 brianp Exp $ */ /*----------------------------- * stex3d.c GL example of the mesa 3d-texture extention to simulate procedural @@ -17,8 +17,11 @@ /* * $Log: stex3d.c,v $ - * Revision 1.1 1999/08/19 00:55:40 jtg - * Initial revision + * Revision 1.2 1999/09/17 12:27:01 brianp + * silenced some warnings + * + * Revision 1.1.1.1 1999/08/19 00:55:40 jtg + * Imported sources * * Revision 3.1 1998/06/09 01:53:49 brianp * main() should return an int @@ -401,6 +404,8 @@ void cleanEverything(void) void KeyHandler( unsigned char key, int x, int y ) { + (void) x; + (void) y; switch(key) { case 27: case 'q': -- cgit v1.2.3