Skip to content

Commit

Permalink
Fix .empty() being called when .clear() was meant in cddb.cpp. Spotte…
Browse files Browse the repository at this point in the history
…d by cppcheck
  • Loading branch information
stuartm committed Dec 5, 2012
1 parent 7dd20fd commit a72652c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mythplugins/mythmusic/mythmusic/cddb.cpp
Expand Up @@ -310,10 +310,10 @@ Cddb::Album& Cddb::Album::operator =(const QString& rhs)
submitter = "MythTV " MYTH_BINARY_VERSION;
rev = 1;
isCompilation = false;
tracks.empty();
toc.empty();
tracks.clear();
toc.clear();
extd.clear();
ext.empty();
ext.clear();

enum { kNorm, kToc } eState = kNorm;

Expand Down

0 comments on commit a72652c

Please sign in to comment.