From cb70a458179637598914467864a7602e6699d746 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sat, 13 May 2023 13:43:04 -0400 Subject: [PATCH] Remove some unused variables. --- qmap/libqmap/q65c.f90 | 6 +++--- qmap/soundin.cpp | 5 +---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/qmap/libqmap/q65c.f90 b/qmap/libqmap/q65c.f90 index dc2ba2c4a..8be46b15a 100644 --- a/qmap/libqmap/q65c.f90 +++ b/qmap/libqmap/q65c.f90 @@ -19,10 +19,10 @@ subroutine q65c(itimer) common/datcom2/dd(2,5760000),ss(322,NFFT),savg(NFFT),nparams0 !### REMEMBER that /npar/ is not updated until nparams=nparams0 is executed. ### - common/npar/fcenter,nutc,fselected,mousedf,mousefqso,nagain, & - ndepth,ndiskdat,neme,newdat,nfa,nfb,nfcal,nfshift, & + common/npar/fcenter,nutc,fselected,mousedf,mousefqso,nagain, & + ndepth,ndiskdat,neme,newdat,nfcal,nfshift, & mcall3,nkeep,ntol,nxant,nrxlog,nfsample,nxpol,nmode, & - ndop00,nsave,max_drift,nhsym,mycall,mygrid,hiscall,hisgrid, & + ndop00,nsave,max_nhsym,mycall,mygrid,hiscall,hisgrid, & datetime,junk1,junk2 equivalence (nparams,fcenter) data first/.true./ diff --git a/qmap/soundin.cpp b/qmap/soundin.cpp index ebd8d2962..d6a30e87f 100644 --- a/qmap/soundin.cpp +++ b/qmap/soundin.cpp @@ -173,7 +173,6 @@ void SoundInThread::inputUDP() int ntr; int nhsym0=0; int iz=174; - int nBusy=0; // Main loop for input of UDP packets over the network: while (!qe) { @@ -216,9 +215,7 @@ void SoundInThread::inputUDP() m_hsym=(k-2048)*11025.0/(2048.0*m_rate); if(m_hsym != nhsym0) { - if(m_dataSinkBusy) { - nBusy++; - } else { + if(!m_dataSinkBusy) { m_dataSinkBusy=true; emit readyForFFT(k); //Signal to compute new FFTs }