mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-24 11:40:31 -05:00
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:
parent
def440bf8c
commit
4dbbf2d819
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user