assorted fixes
diff --git a/progs/tests/Makefile b/progs/tests/Makefile
index 9f1e3cc..28f7a50 100644
--- a/progs/tests/Makefile
+++ b/progs/tests/Makefile
@@ -34,7 +34,6 @@
 	seccolor.c \
 	sharedtex.c \
 	stencilwrap.c \
-	swaplock.c \
 	tex1d.c \
 	texline.c \
 	texrect.c \
diff --git a/progs/tests/stencilwrap.c b/progs/tests/stencilwrap.c
index f7d3ecd..8e44753 100644
--- a/progs/tests/stencilwrap.c
+++ b/progs/tests/stencilwrap.c
@@ -164,7 +164,7 @@
     */
 
    ver_str = glGetString( GL_VERSION );
-   version = (ver_str == NULL) ? 1.0 : strtof( ver_str, NULL );
+   version = (ver_str == NULL) ? 1.0 : atof( ver_str );
 
    if ( !glutExtensionSupported("GL_EXT_stencil_wrap")
 	&& (version < 1.4) ) {
diff --git a/progs/tests/yuvrect.c b/progs/tests/yuvrect.c
index 509c043..acef406 100644
--- a/progs/tests/yuvrect.c
+++ b/progs/tests/yuvrect.c
@@ -18,7 +18,6 @@
 
 static GLfloat Xrot = 0, Yrot = 0, Zrot = 0;
 static GLint ImgWidth, ImgHeight;
-static GLenum ImgFormat;
 static GLushort *ImageYUV = NULL;
 
 
diff --git a/progs/tests/yuvsquare.c b/progs/tests/yuvsquare.c
index 4945867..3601e7a 100644
--- a/progs/tests/yuvsquare.c
+++ b/progs/tests/yuvsquare.c
@@ -128,7 +128,6 @@
 static void Init( int argc, char *argv[] )
 {
    const char *file;
-   int error;
    GLenum  format;
 
    if (!glutExtensionSupported("GL_MESA_ycbcr_texture")) {