mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-03-01 15:10:43 +00:00
Remove redundant error messages
This commit is contained in:
parent
29296b0e20
commit
c7e579aa75
1 changed files with 0 additions and 2 deletions
|
@ -389,7 +389,6 @@ int fluid_sffile_read_sample_data(SFData *sf, unsigned int start, unsigned int c
|
||||||
/* Load 16-bit sample data */
|
/* Load 16-bit sample data */
|
||||||
if (sf->fcbs->fseek(sf->sffd, sf->samplepos + (start * 2), SEEK_SET) == FLUID_FAILED)
|
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");
|
FLUID_LOG(FLUID_ERR, "Failed to seek position in data file");
|
||||||
goto error_exit;
|
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)
|
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");
|
FLUID_LOG(FLUID_ERR, "Failed to seek position in data file");
|
||||||
goto error_exit;
|
goto error_exit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue