Huw Davies : ole32: Remove unused static variable.
Alexandre Julliard
julliard at winehq.org
Mon Mar 23 12:34:55 CDT 2009
Module: wine
Branch: master
Commit: e6eeb3aa17c8a90d62090822c7996747103c88ea
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e6eeb3aa17c8a90d62090822c7996747103c88ea
Author: Huw Davies <huw at codeweavers.com>
Date: Tue Mar 17 11:55:09 2009 +0000
ole32: Remove unused static variable.
---
dlls/ole32/clipboard.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/ole32/clipboard.c b/dlls/ole32/clipboard.c
index b33cb52..5bdd80a 100644
--- a/dlls/ole32/clipboard.c
+++ b/dlls/ole32/clipboard.c
@@ -163,8 +163,7 @@ typedef struct PresentationDataHeader
/*
* The one and only OLEClipbrd object which is created by OLEClipbrd_Initialize()
*/
-static HGLOBAL hTheOleClipboard = 0;
-static OLEClipbrd* theOleClipboard = NULL;
+static OLEClipbrd* theOleClipboard;
/*
@@ -682,7 +681,6 @@ static OLEClipbrd* OLEClipbrd_Construct(void)
* The Ole clipboard is a singleton - save the global handle and pointer
*/
theOleClipboard = newObject;
- hTheOleClipboard = hNewObject;
return theOleClipboard;
}
@@ -711,7 +709,6 @@ static void OLEClipbrd_Destroy(OLEClipbrd* ptrToDestroy)
* The Ole clipboard is a singleton (ptrToDestroy == theOleClipboard)
*/
theOleClipboard = NULL;
- hTheOleClipboard = 0;
}
More information about the wine-cvs
mailing list