diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-11-27 23:55:23 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-11-27 23:55:23 (GMT) |
commit | 744fca1430b00fb8addc971a6e3029310f4f6f4f (patch) | |
tree | 58f5299e5f4c96b7ba56d67fe6995312bf591ab2 | |
parent | 2e50de4618c1faf97e6a65155255daa1d034b53b (diff) | |
download | swift-744fca1430b00fb8addc971a6e3029310f4f6f4f.zip swift-744fca1430b00fb8addc971a6e3029310f4f6f4f.tar.bz2 |
Avoid compiler warning.
-rwxr-xr-x | BuildTools/CheckTabs.py | 2 | ||||
-rw-r--r-- | SwifTools/AutoUpdater/PlatformAutoUpdaterFactory.cpp | 1 |
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 } |