Skip to content

Commit

Permalink
Play a hunch that cppcheck just doesn't recognise 'if defined' being …
Browse files Browse the repository at this point in the history
…the same as 'ifdef'
  • Loading branch information
stuartm committed Dec 4, 2012
1 parent 4b641bf commit 59ce6a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythplugins/mythmusic/mythmusic/cdrip.cpp
Expand Up @@ -123,7 +123,7 @@ void CDEjectorThread::run()

static long int getSectorCount (QString &cddevice, int tracknum)
{
#if defined HAVE_CDIO
#ifdef HAVE_CDIO
QByteArray devname = cddevice.toAscii();
cdrom_drive *device = cdda_identify(devname.constData(), 0, NULL);

Expand Down Expand Up @@ -377,7 +377,7 @@ void CDRipperThread::run(void)

int CDRipperThread::ripTrack(QString &cddevice, Encoder *encoder, int tracknum)
{
#if defined HAVE_CDIO
#ifdef HAVE_CDIO
QByteArray devname = cddevice.toAscii();
cdrom_drive *device = cdda_identify(devname.constData(), 0, NULL);

Expand Down

0 comments on commit 59ce6a8

Please sign in to comment.