Remove redundant error messages

This commit is contained in:
Marcus Weseloh 2018-04-04 11:03:47 +02:00
parent 29296b0e20
commit c7e579aa75

View file

@ -389,7 +389,6 @@ int fluid_sffile_read_sample_data(SFData *sf, unsigned int start, unsigned int c
/* Load 16-bit sample data */
if (sf->fcbs->fseek(sf->sffd, sf->samplepos + (start * 2), SEEK_SET) == FLUID_FAILED)
{
perror("error");
FLUID_LOG(FLUID_ERR, "Failed to seek position in data file");
goto error_exit;
}
@ -422,7 +421,6 @@ int fluid_sffile_read_sample_data(SFData *sf, unsigned int start, unsigned int c
{
if (sf->fcbs->fseek(sf->sffd, sf->sample24pos + start, SEEK_SET) == FLUID_FAILED)
{
perror("error");
FLUID_LOG(FLUID_ERR, "Failed to seek position in data file");
goto error_exit;
}