Squash more compiler warnings

This commit is contained in:
Bill Somerville
2021-04-14 23:41:52 +01:00
parent 8de93a5330
commit 583b4aa21a
4 changed files with 5 additions and 9 deletions
+3 -2
View File
@@ -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) {