Squash some more warnings

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6593 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2016-04-06 23:11:22 +00:00
parent def440bf8c
commit 4dbbf2d819

View File

@ -79,15 +79,15 @@ void getfile(QString fname, int ntrperiod)
} fmt;
// read header
fread(&desc, 1, sizeof desc, fp); // RIFF
fread(type, 1, sizeof type, fp); // WAVE
(void)fread(&desc, 1, sizeof desc, fp); // RIFF
(void)fread(type, 1, sizeof type, fp); // WAVE
do
{
fread(&desc, 1, sizeof desc, fp); // WAVE component
(void)fread(&desc, 1, sizeof desc, fp); // WAVE component
if (!memcmp(desc.id,"fmt ",4)) {
fpos_t pos;
fgetpos(fp,&pos);
fread(&fmt,1,sizeof fmt,fp);
(void)fread(&fmt,1,sizeof fmt,fp);
fsetpos(fp,&pos);
}
if (!memcmp(desc.id,"data",sizeof desc.id)) break;