mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -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;
|
} fmt;
|
||||||
|
|
||||||
// read header
|
// read header
|
||||||
fread(&desc, 1, sizeof desc, fp); // RIFF
|
(void)fread(&desc, 1, sizeof desc, fp); // RIFF
|
||||||
fread(type, 1, sizeof type, fp); // WAVE
|
(void)fread(type, 1, sizeof type, fp); // WAVE
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
fread(&desc, 1, sizeof desc, fp); // WAVE component
|
(void)fread(&desc, 1, sizeof desc, fp); // WAVE component
|
||||||
if (!memcmp(desc.id,"fmt ",4)) {
|
if (!memcmp(desc.id,"fmt ",4)) {
|
||||||
fpos_t pos;
|
fpos_t pos;
|
||||||
fgetpos(fp,&pos);
|
fgetpos(fp,&pos);
|
||||||
fread(&fmt,1,sizeof fmt,fp);
|
(void)fread(&fmt,1,sizeof fmt,fp);
|
||||||
fsetpos(fp,&pos);
|
fsetpos(fp,&pos);
|
||||||
}
|
}
|
||||||
if (!memcmp(desc.id,"data",sizeof desc.id)) break;
|
if (!memcmp(desc.id,"data",sizeof desc.id)) break;
|
||||||
|
Loading…
Reference in New Issue
Block a user