]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
don't crash on weird line endings like \r\r\n
[wxWidgets.git] / src / common / filefn.cpp
index 6b0c967cca4e23fe6f70ec452e8f97d4743a11ad..435ff24df658a4bc6d932312696b5625f4fcda99 100644 (file)
@@ -1801,6 +1801,7 @@ bool wxIsWritable(const wxString &path)
 #elif defined( __WINDOWS__ )
     return wxCheckGenericPermission(path, GENERIC_WRITE);
 #else
+    wxUnusedVar(path);
     // TODO
     return false;
 #endif
@@ -1814,6 +1815,7 @@ bool wxIsReadable(const wxString &path)
 #elif defined( __WINDOWS__ )
     return wxCheckGenericPermission(path, GENERIC_READ);
 #else
+    wxUnusedVar(path);
     // TODO
     return false;
 #endif
@@ -1827,6 +1829,7 @@ bool wxIsExecutable(const wxString &path)
 #elif defined( __WINDOWS__ )
    return wxCheckGenericPermission(path, GENERIC_EXECUTE);
 #else
+    wxUnusedVar(path);
     // TODO
     return false;
 #endif