mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-23 19:25:37 -05:00
Squashed some compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3978 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
581691befb
commit
b17ff13e89
@ -24,6 +24,7 @@ Detector::Detector (unsigned frameRate, unsigned periodLengthInSeconds,
|
||||
new short [framesPerSignal * downSampleFactor] : 0)
|
||||
, m_bufferPos (0)
|
||||
{
|
||||
(void)m_frameRate; // quell compiler warning
|
||||
clear ();
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ void *INIT_RS(int symsize,int gfpoly,int fcr,int prim,
|
||||
int i, j, sr,root,iprim;
|
||||
|
||||
/* Check parameter ranges */
|
||||
if(symsize < 0 || symsize > 8*sizeof(DTYPE))
|
||||
if(symsize < 0 || symsize > (int)(8*sizeof(DTYPE)))
|
||||
return NULL; /* Need version with ints rather than chars */
|
||||
|
||||
if(fcr < 0 || fcr >= (1<<symsize))
|
||||
|
@ -18,9 +18,8 @@ subroutine MoonDop(nyear,month,nday,uth4,lon4,lat4,RAMoon4, &
|
||||
real*8 RME(6) !Vector from Earth center to Moon
|
||||
real*8 RAE(6) !Vector from Earth center to Obs
|
||||
real*8 RMA(6) !Vector from Obs to Moon
|
||||
real*8 pvsun(6)
|
||||
real*8 rme0(6)
|
||||
logical km,bary
|
||||
logical km
|
||||
|
||||
data rad/57.2957795130823d0/,twopi/6.28310530717959d0/
|
||||
|
||||
|
@ -3,7 +3,7 @@ subroutine tm2(day,xlat4,xlon4,xl4,b4)
|
||||
implicit real*8 (a-h,o-z)
|
||||
parameter (RADS=0.0174532925199433d0)
|
||||
|
||||
real*4 day4,xlat4,xlon4,xl4,b4
|
||||
real*4 xlat4,xlon4,xl4,b4
|
||||
|
||||
glat=xlat4*RADS
|
||||
glong=xlon4*RADS
|
||||
|
@ -22,9 +22,6 @@ private:
|
||||
|
||||
QLabel *m_label;
|
||||
|
||||
int m_signal;
|
||||
int m_sigPeak;
|
||||
|
||||
protected:
|
||||
void paintEvent( QPaintEvent * );
|
||||
void resizeEvent(QResizeEvent *s);
|
||||
|
@ -47,8 +47,7 @@ bool SoundOutput::audioError () const
|
||||
}
|
||||
|
||||
SoundOutput::SoundOutput (QIODevice * source)
|
||||
: m_source (source)
|
||||
, m_active (false)
|
||||
: m_active (false)
|
||||
, m_currentDevice (QAudioDeviceInfo::defaultOutputDevice ())
|
||||
{
|
||||
Q_ASSERT (source);
|
||||
|
@ -47,7 +47,6 @@ private Q_SLOTS:
|
||||
private:
|
||||
QScopedPointer<QAudioOutput> m_stream;
|
||||
|
||||
QIODevice * m_source;
|
||||
bool volatile m_active;
|
||||
QAudioDeviceInfo m_currentDevice;
|
||||
qreal m_volume;
|
||||
|
Loading…
Reference in New Issue
Block a user