Sebastian Lackner : quartz: Remove unused variable.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Mar 2 08:51:51 CST 2015


Module: wine
Branch: master
Commit: 9057a693d75bdc4554a2fd83e135666d97f142ca
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9057a693d75bdc4554a2fd83e135666d97f142ca

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Sun Mar  1 04:55:02 2015 +0100

quartz: Remove unused variable.

---

 dlls/quartz/main.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/quartz/main.c b/dlls/quartz/main.c
index b45c55b..32865f3 100644
--- a/dlls/quartz/main.c
+++ b/dlls/quartz/main.c
@@ -29,8 +29,6 @@ extern HRESULT WINAPI QUARTZ_DllGetClassObject(REFCLSID, REFIID, LPVOID *) DECLS
 extern HRESULT WINAPI QUARTZ_DllCanUnloadNow(void) DECLSPEC_HIDDEN;
 extern BOOL WINAPI QUARTZ_DllMain(HINSTANCE, DWORD, LPVOID) DECLSPEC_HIDDEN;
 
-static DWORD dll_ref = 0;
-
 /* For the moment, do nothing here. */
 BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
 {
@@ -206,7 +204,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
  */
 HRESULT WINAPI DllCanUnloadNow(void)
 {
-    if (dll_ref) return S_FALSE;
     return QUARTZ_DllCanUnloadNow();
 }
 




More information about the wine-cvs mailing list