Squash a couple of compiler warnings

This commit is contained in:
Bill Somerville 2021-04-14 22:55:33 +01:00
parent 5946eaf615
commit 8de93a5330
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -22,8 +22,8 @@ void getfile(QString fname, bool xpol, int dbDgrd)
FILE* fp=fopen(name,"rb");
if(fp != NULL) {
fread(&datcom_.fcenter,sizeof(datcom_.fcenter),1,fp);
fread(id,2,npts,fp);
(void)fread(&datcom_.fcenter,sizeof(datcom_.fcenter),1,fp);
(void)fread(id,2,npts,fp);
int j=0;
if(dbDgrd<0) {