From f5c0e68cf3c44db78028d60a61c03fe706bdc893 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sat, 27 May 2006 07:24:24 +0000
Subject: [PATCH] Remove msvc6-exposed unused variables.

---
 src/xpdev/xpbeep.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/xpdev/xpbeep.c b/src/xpdev/xpbeep.c
index ebd3310c01..610c331b91 100644
--- a/src/xpdev/xpbeep.c
+++ b/src/xpdev/xpbeep.c
@@ -112,12 +112,10 @@ struct alsa_api_struct *alsa_api=NULL;
 void makewave(double freq, unsigned char *wave, int samples, enum WAVE_SHAPE shape)
 {
 	int	i;
-	int j;
 	int midpoint;
 	double inc;
 	double pos;
 	BOOL endhigh;
-	BOOL starthigh;
 
 	midpoint=samples/2;
 	inc=8.0*atan(1.0);
@@ -341,8 +339,6 @@ BOOL xptone(double freq, DWORD duration, enum WAVE_SHAPE shape)
 {
 	WAVEHDR			wh;
 	unsigned char	wave[S_RATE*15/2+1];
-	WORD* 			p;
-	DWORD			endTime;
 	BOOL			success=FALSE;
 	BOOL			must_close=FALSE;
 
-- 
GitLab