mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-21 19:55:20 -05:00
Squash more compiler warnings
This commit is contained in:
parent
8de93a5330
commit
583b4aa21a
@ -27,11 +27,6 @@ if (WIN32)
|
||||
set (map65_CXXSRCS ${map65_CXXSRCS} killbyname.cpp)
|
||||
endif (WIN32)
|
||||
|
||||
set (map65_CSRCS
|
||||
paInputDevice.c
|
||||
pa_get_device_info.c
|
||||
)
|
||||
|
||||
set (map65_UISRCS
|
||||
about.ui
|
||||
astro.ui
|
||||
|
@ -22,8 +22,9 @@ void getfile(QString fname, bool xpol, int dbDgrd)
|
||||
FILE* fp=fopen(name,"rb");
|
||||
|
||||
if(fp != NULL) {
|
||||
(void)fread(&datcom_.fcenter,sizeof(datcom_.fcenter),1,fp);
|
||||
(void)fread(id,2,npts,fp);
|
||||
auto n = fread(&datcom_.fcenter,sizeof(datcom_.fcenter),1,fp);
|
||||
n = fread(id,2,npts,fp);
|
||||
Q_UNUSED (n);
|
||||
int j=0;
|
||||
|
||||
if(dbDgrd<0) {
|
||||
|
@ -273,7 +273,7 @@ void CPlotter::UTCstr()
|
||||
ihr=imin/60;
|
||||
imin=imin % 60;
|
||||
}
|
||||
sprintf(m_sutc,"%2.2d:%2.2d",ihr,imin);
|
||||
m_sutc = QString {"%1:%2"}.arg (ihr, 2).arg (imin, 2);
|
||||
}
|
||||
|
||||
void CPlotter::DrawOverlay() //DrawOverlay()
|
||||
|
@ -115,7 +115,7 @@ private:
|
||||
qint32 m_FreqUnits;
|
||||
qint32 m_hdivs;
|
||||
bool m_dataFromDisk;
|
||||
char m_sutc[5];
|
||||
QString m_sutc;
|
||||
qint32 m_line;
|
||||
qint32 m_hist1[256];
|
||||
qint32 m_hist2[256];
|
||||
|
Loading…
Reference in New Issue
Block a user