]> git.saurik.com Git - wxWidgets.git/commitdiff
Avoid warning on OpenVMS system
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Tue, 13 Jan 2009 12:48:58 +0000 (12:48 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Tue, 13 Jan 2009 12:48:58 +0000 (12:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/mimetype.cpp

index c9d7bc93adbc7e13ce38764204fecf15170cd8e9..0d9b2bed5531bf35531f958370923ec67aa32d00 100644 (file)
@@ -527,7 +527,7 @@ void wxMimeTypesManagerImpl::Initialize(int mailcapStyles,
 #ifdef __VMS
     // XDG tables are never installed on OpenVMS
     return;
-#endif
+#else
 
     // Read MIME type - extension associations
     LoadXDGGlobs( "/usr/share/mime/globs" );
@@ -626,6 +626,7 @@ void wxMimeTypesManagerImpl::Initialize(int mailcapStyles,
             }
         }
     }
+#endif
 }
 
 // clear data so you can read another group of WM files