diff options
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/plugin/qlibrary_win.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/plugin/qlibrary_win.cpp b/src/corelib/plugin/qlibrary_win.cpp index 95e5afa837..46fbba151c 100644 --- a/src/corelib/plugin/qlibrary_win.cpp +++ b/src/corelib/plugin/qlibrary_win.cpp @@ -147,7 +147,6 @@ bool QLibraryPrivate::load_sys() qualifiedFileName = moduleFileName; else qualifiedFileName = dir.filePath(moduleFileName); -#endif // !Q_OS_WINRT if (loadHints() & QLibrary::PreventUnloadHint) { // prevent the unloading of this component @@ -157,7 +156,9 @@ bool QLibraryPrivate::load_sys() reinterpret_cast<const wchar_t *>(pHnd), &hmod); Q_ASSERT(!ok || hmod == pHnd); + Q_UNUSED(ok); } +#endif // !Q_OS_WINRT } return (pHnd != 0); } |