summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-11-27 23:55:23 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-11-27 23:55:23 (GMT)
commit744fca1430b00fb8addc971a6e3029310f4f6f4f (patch)
tree58f5299e5f4c96b7ba56d67fe6995312bf591ab2
parent2e50de4618c1faf97e6a65155255daa1d034b53b (diff)
downloadswift-744fca1430b00fb8addc971a6e3029310f4f6f4f.zip
swift-744fca1430b00fb8addc971a6e3029310f4f6f4f.tar.bz2
Avoid compiler warning.
-rwxr-xr-xBuildTools/CheckTabs.py2
-rw-r--r--SwifTools/AutoUpdater/PlatformAutoUpdaterFactory.cpp1
2 files changed, 2 insertions, 1 deletions
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
}