[PATCH 0/1] MR11281: wbemprox: Remove unused variable.
Another change related to the -Wunused-but-set-global warnings from clang. CC: @jacek -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11281
From: Bernhard Übelacker <bernhardu@mailbox.org> --- dlls/wbemprox/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/wbemprox/main.c b/dlls/wbemprox/main.c index bc081ce1e34..97f859b0970 100644 --- a/dlls/wbemprox/main.c +++ b/dlls/wbemprox/main.c @@ -33,8 +33,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wbemprox); -static HINSTANCE instance; - struct list *table_list[WBEMPROX_NAMESPACE_LAST]; typedef HRESULT (*fnCreateInstance)( LPVOID *ppObj, REFIID riid ); @@ -112,7 +110,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) switch (fdwReason) { case DLL_PROCESS_ATTACH: - instance = hinstDLL; DisableThreadLibraryCalls(hinstDLL); init_table_list(); break; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11281
Sorry, I should have searched the merge requests before submitting this one, there is already !11261 open. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11281#note_144422
This merge request was closed by Bernhard Übelacker. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11281
participants (2)
-
Bernhard Übelacker -
Bernhard Übelacker (@bernhardu)