]> git.saurik.com Git - wxWidgets.git/commitdiff
No changes, just fix a harmless warning in FileSystemWatcherTestCase.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 10 Nov 2012 12:22:09 +0000 (12:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 10 Nov 2012 12:22:09 +0000 (12:22 +0000)
Fix an unused parameter warning under non-Unix platforms.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/fswatcher/fswatchertest.cpp

index c77ceea5a72c0d7a27adb70ca9cdc5b151da015e..cd44d2ac98762f208a38f8a981a668ffdd04de30 100644 (file)
@@ -650,7 +650,11 @@ void FileSystemWatcherTestCase::TestTrees()
     public:
         TreeTester() : subdirs(5), files(3) {}
 
-        void GrowTree(wxFileName dir, bool withSymlinks)
+        void GrowTree(wxFileName dir
+#ifdef __UNIX__
+                      , bool withSymlinks = false
+#endif
+                      )
         {
             CPPUNIT_ASSERT(dir.Mkdir());
             // Now add a subdir with an easy name to remember in WatchTree()
@@ -733,7 +737,7 @@ void FileSystemWatcherTestCase::TestTrees()
             // Store the initial count; there may already be some watches
             const int initial = m_watcher->GetWatchedPathsCount();
 
-            GrowTree(dir, false /* no symlinks */);
+            GrowTree(dir);
 
             m_watcher->AddTree(dir);
             const int plustree = m_watcher->GetWatchedPathsCount();