aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pyne <[email protected]>2017-08-25 22:48:36 -0400
committerMichael Pyne <[email protected]>2017-08-25 22:48:36 -0400
commitec1a2b14cbaa42ab071eb5d4b79fb1b0019a6a3a (patch)
tree25450a876ff3e818e675635bcc0eb5fae3b8a078
parenta022fe90899109d185ff6eccabbc7970e7458be6 (diff)
Remove undefined-behavior null check.
-rw-r--r--playlistitem.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/playlistitem.h b/playlistitem.h
index 0e5579a..8d4c2fc 100644
--- a/playlistitem.h
+++ b/playlistitem.h
@@ -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;
}