]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
Left unused variable around.
[wxWidgets.git] / src / common / filefn.cpp
index 6b0c967cca4e23fe6f70ec452e8f97d4743a11ad..df91e1cb4e3f9a4417237f0e9af09cdefb0f7bf9 100644 (file)
@@ -907,6 +907,8 @@ wxString wxMacHFSUniStrToString( ConstHFSUniStr255Param uniname )
     return wxMacCFStringHolder(cfMutableString).AsString() ;
 }
 
+#ifndef __LP64__
+
 wxString wxMacFSSpec2MacFilename( const FSSpec *spec )
 {
     FSRef fsRef ;
@@ -924,6 +926,7 @@ void wxMacFilename2FSSpec( const wxString& path , FSSpec *spec )
     wxMacPathToFSRef( path , &fsRef ) ;
     err = FSRefMakeFSSpec( &fsRef , spec ) ;
 }
+#endif
 
 #endif // __WXMAC__
 
@@ -1801,6 +1804,7 @@ bool wxIsWritable(const wxString &path)
 #elif defined( __WINDOWS__ )
     return wxCheckGenericPermission(path, GENERIC_WRITE);
 #else
+    wxUnusedVar(path);
     // TODO
     return false;
 #endif
@@ -1814,6 +1818,7 @@ bool wxIsReadable(const wxString &path)
 #elif defined( __WINDOWS__ )
     return wxCheckGenericPermission(path, GENERIC_READ);
 #else
+    wxUnusedVar(path);
     // TODO
     return false;
 #endif
@@ -1827,6 +1832,7 @@ bool wxIsExecutable(const wxString &path)
 #elif defined( __WINDOWS__ )
    return wxCheckGenericPermission(path, GENERIC_EXECUTE);
 #else
+    wxUnusedVar(path);
     // TODO
     return false;
 #endif