]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filename.cpp
Silence warning about truncation since the comment says it ok
[wxWidgets.git] / src / common / filename.cpp
index 9af9313ac4f282b6474e4cb8640855be8fe2cdaa..d1766a8179453f8f503c5c886f29d6c6a2b12785 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "filename.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -1894,6 +1890,8 @@ bool wxFileName::SetTimes(const wxDateTime *dtAccess,
         }
     }
 #elif defined(__UNIX_LIKE__) || (defined(__DOS__) && defined(__WATCOMC__))
+    wxUnusedVar(dtCreate);
+
     if ( !dtAccess && !dtMod )
     {
         // can't modify the creation time anyhow, don't try