Commit a4cd7411 authored by Max Kellermann's avatar Max Kellermann

decoder/sidplay: remove unnecessary error check

The ReSIDBuilder constructor cannot fail.
parent bf276f62
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment