From 744fca1430b00fb8addc971a6e3029310f4f6f4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 28 Nov 2009 00:55:23 +0100 Subject: Avoid compiler warning. diff --git a/BuildTools/CheckTabs.py b/BuildTools/CheckTabs.py index 6c9f60b..2cc1cf7 100755 --- a/BuildTools/CheckTabs.py +++ b/BuildTools/CheckTabs.py @@ -5,7 +5,7 @@ import os, sys foundExpandedTabs = False for (path, dirs, files) in os.walk(".") : - if not "3rdParty" in path : + if not "3rdParty" in path and not ".sconf" in path : for filename in [os.path.join(path, file) for file in files if (file.endswith(".cpp") or file.endswith(".h")) and not "ui_" in file and not "moc_" in file and not "qrc_" in file] : file = open(filename, "r") contents = [] diff --git a/SwifTools/AutoUpdater/PlatformAutoUpdaterFactory.cpp b/SwifTools/AutoUpdater/PlatformAutoUpdaterFactory.cpp index 2049a4e..90c27bd 100644 --- a/SwifTools/AutoUpdater/PlatformAutoUpdaterFactory.cpp +++ b/SwifTools/AutoUpdater/PlatformAutoUpdaterFactory.cpp @@ -12,6 +12,7 @@ AutoUpdater* PlatformAutoUpdaterFactory::createAutoUpdater(const String& appcast #ifdef HAVE_SPARKLE return new SparkleAutoUpdater(appcastURL); #else + (void) appcastURL; return new DummyAutoUpdater(); #endif } -- cgit v0.10.2-6-g49f6