From kde-commits Thu Jun 16 01:55:38 2011 From: Raphael Kubo da Costa Date: Thu, 16 Jun 2011 01:55:38 +0000 To: kde-commits Subject: KDE/kdemultimedia/juk Message-Id: <20110616015538.0E061AC86E () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=130819003906619 SVN commit 1236950 by rkcosta: Remove redundant #ifdef. HAVE_TUNEPIMP is always defined in the top-level CMakeLists.txt, so we can skip the #ifdef and just test for its value. M +2 -4 ktrm.cpp --- trunk/KDE/kdemultimedia/juk/ktrm.cpp #1236949:1236950 @@ -24,8 +24,7 @@ #include "ktrm.h" #include -#ifdef HAVE_TUNEPIMP //Silence warning about HAVE_TUNEPIMP not being defined. -#if HAVE_TUNEPIMP +#if (HAVE_TUNEPIMP > 0) #include #include @@ -769,7 +768,6 @@ return l3 ? nCommon * 2.0 / l3 : 1.0; } -#endif -#endif +#endif // (HAVE_TUNEPIMP > 0) // vim: set et sw=4 tw=0 sta: