diff --git a/src/xpdev/xpbeep.c b/src/xpdev/xpbeep.c index ebd3310c0140f62229f93eac47994705423b9ea4..610c331b91e6784897e2d3d7859a9b06ffa502db 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;