Commit ec1a2b14 authored by Michael Pyne's avatar Michael Pyne

Remove undefined-behavior null check.

parent a022fe90
......@@ -219,11 +219,7 @@ private:
inline QDebug operator<<(QDebug s, const PlaylistItem &item)
{
if(&item == 0)
s << "(nil)";
else
s << item.text(PlaylistItem::TrackColumn);
s << item.text(PlaylistItem::TrackColumn);
return s;
}
......
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