1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-09 16:05:39 +01:00

Add error check comments.

These are places where we don't properly handle error returns.
This commit is contained in:
James Crook
2016-07-09 21:20:35 +01:00
parent c8d5905bd3
commit 763485b0dc
19 changed files with 50 additions and 18 deletions

View File

@@ -106,6 +106,7 @@ size_t MultiFormatReader::Read(void* buffer, size_t size, size_t len, size_t str
for (size_t n = 0; n < len; n++)
{
actRead += fread(&(pWork[n*size]), size, 1, mpFid);
// FIXME: TRAP_ERR fseek return in MultiFormatReader unchecked.
fseek(mpFid, (stride - 1) * size, SEEK_CUR);
}
}