Silence two more compiler warnings.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3307 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-05-23 17:11:10 +00:00
parent 5dfaa1aba0
commit 3ead1e4d9e
3 changed files with 3 additions and 5 deletions

View File

@ -547,7 +547,6 @@ void MainWindow::dataSink(int k)
static float s[NSMAX],red[NSMAX];
static int ihsym=0;
static int nzap=0;
static int nb;
static int trmin;
static int npts8;
static float px=0.0;
@ -560,8 +559,6 @@ void MainWindow::dataSink(int k)
}
// Get power, spectrum, and ihsym
nb=0;
if(m_NB) nb=1;
trmin=m_TRperiod/60;
symspec_(&k,&trmin,&m_nsps,&m_inGain,&px,s,red,&df3,&ihsym,&npts8);
if(ihsym <=0) return;

View File

@ -73,7 +73,7 @@ extern "C" int d2aCallback(const void *inputBuffer, void *outputBuffer,
// nspd=3072; //18.75 WPM
nspd=2048 + 512; //22.5 WPM
int ic0=85*4*udata->nsps;
for(int i=0 ; i<framesToProcess; i++ ) {
for(uint i=0 ; i<framesToProcess; i++ ) {
phi += dphi;
if(phi>twopi) phi -= twopi;
i2=32767.0*sin(phi);

View File

@ -45,7 +45,8 @@ HEADERS += mainwindow.h plotter.h soundin.h soundout.h \
commons.h sleep.h displaytext.h logqso.h \
psk_reporter.h rigclass.h
DEFINES += __cplusplus
# (Is the following really needed???)
#DEFINES += __cplusplus
FORMS += mainwindow.ui about.ui devsetup.ui widegraph.ui \
logqso.ui