decoder/sidplay: remove unnecessary error check

The ReSIDBuilder constructor cannot fail.
This commit is contained in:
Max Kellermann 2016-07-29 17:03:26 +02:00
parent bf276f6235
commit a4cd7411e8
1 changed files with 0 additions and 6 deletions

View File

@ -178,12 +178,6 @@ sidplay_file_decode(Decoder &decoder, Path path_fs)
/* initialize the builder */
ReSIDBuilder builder("ReSID");
if (!builder) {
LogWarning(sidplay_domain,
"failed to initialize ReSIDBuilder");
return;
}
builder.create(player.info().maxsids);
if (!builder) {
LogWarning(sidplay_domain, "ReSIDBuilder.create() failed");