From 3702f720ede438bfacc476e06681a522e558e590 Mon Sep 17 00:00:00 2001 From: Alex Zepeda Date: Mon, 2 Dec 2002 10:08:09 +0000 Subject: [PATCH] Side step another unused variable warning with silly (yet not too offensive) code. svn path=/trunk/kdebase/kwin/; revision=191576 --- kcmkwin/kwinoptions/windows.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kcmkwin/kwinoptions/windows.cpp b/kcmkwin/kwinoptions/windows.cpp index 8900bc91d2..16a119297e 100644 --- a/kcmkwin/kwinoptions/windows.cpp +++ b/kcmkwin/kwinoptions/windows.cpp @@ -17,6 +17,9 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Id$ + * */ #include @@ -571,6 +574,10 @@ void KAdvancedConfig::setXinerama(bool on) { xineramaMovementEnable->setEnabled(on); xineramaPlacementEnable->setEnabled(on); xineramaMaximizeEnable->setEnabled(on); +#else + // Silly way to work around unused variable + if (on == on) + return; #endif }