]> git.saurik.com Git - wxWidgets.git/commitdiff
fix couple of warnings; remove wxUsleep dummy test
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 9 Jun 2010 17:55:21 +0000 (17:55 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 9 Jun 2010 17:55:21 +0000 (17:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/console/console.cpp

index d204fb59d26e2826581d145fa5e1e7609b042957..c696083ca8b6ab566a1dcd4c97cac4f3f7f52692 100644 (file)
@@ -913,12 +913,8 @@ static wxFTP *ftp;
 
 #ifdef FTP_ANONYMOUS
     static const wxChar *hostname = wxT("ftp.wxwidgets.org");
-    static const wxChar *directory = wxT("/pub");
-    static const wxChar *filename = wxT("welcome.msg");
 #else
     static const wxChar *hostname = "localhost";
-    static const wxChar *directory = wxT("/etc");
-    static const wxChar *filename = wxT("issue");
 #endif
 
 static bool TestFtpConnect()
@@ -1369,7 +1365,6 @@ int main(int argc, char **argv)
 #endif // TEST_FTP
 
 #ifdef TEST_MIME
-    //wxLog::AddTraceMask(wxT("mime"));
     TestMimeEnum();
     TestMimeAssociate();
     TestMimeFilename();
@@ -1409,11 +1404,6 @@ int main(int argc, char **argv)
     TestStandardPaths();
 #endif
 
-#ifdef TEST_USLEEP
-    wxPuts(wxT("Sleeping for 3 seconds... z-z-z-z-z..."));
-    wxUsleep(3000);
-#endif // TEST_USLEEP
-
 #ifdef TEST_VOLUME
     TestFSVolume();
 #endif // TEST_VOLUME