decoder_thread: removed redundant NULL assignments

The while() clause resets the "plugin" variable.  We don't need to
reset it at the end of the loop body.
This commit is contained in:
Max Kellermann 2009-10-11 23:44:21 +02:00
parent 727c301fbc
commit a07ab27dae

View File

@ -164,7 +164,7 @@ static void decoder_run_song(const struct song *song, const char *uri)
if (ret)
break;
plugin = NULL;
assert(dc.state == DECODE_STATE_START);
}
/* if that fails, try suffix matching the URL: */
@ -180,7 +180,6 @@ static void decoder_run_song(const struct song *song, const char *uri)
break;
assert(dc.state == DECODE_STATE_START);
plugin = NULL;
}
}
/* fallback to mp3: */