Commit e6eeb3aa authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ole32: Remove unused static variable.

parent 5e62686a
...@@ -163,8 +163,7 @@ typedef struct PresentationDataHeader ...@@ -163,8 +163,7 @@ typedef struct PresentationDataHeader
/* /*
* The one and only OLEClipbrd object which is created by OLEClipbrd_Initialize() * The one and only OLEClipbrd object which is created by OLEClipbrd_Initialize()
*/ */
static HGLOBAL hTheOleClipboard = 0; static OLEClipbrd* theOleClipboard;
static OLEClipbrd* theOleClipboard = NULL;
/* /*
...@@ -682,7 +681,6 @@ static OLEClipbrd* OLEClipbrd_Construct(void) ...@@ -682,7 +681,6 @@ static OLEClipbrd* OLEClipbrd_Construct(void)
* The Ole clipboard is a singleton - save the global handle and pointer * The Ole clipboard is a singleton - save the global handle and pointer
*/ */
theOleClipboard = newObject; theOleClipboard = newObject;
hTheOleClipboard = hNewObject;
return theOleClipboard; return theOleClipboard;
} }
...@@ -711,7 +709,6 @@ static void OLEClipbrd_Destroy(OLEClipbrd* ptrToDestroy) ...@@ -711,7 +709,6 @@ static void OLEClipbrd_Destroy(OLEClipbrd* ptrToDestroy)
* The Ole clipboard is a singleton (ptrToDestroy == theOleClipboard) * The Ole clipboard is a singleton (ptrToDestroy == theOleClipboard)
*/ */
theOleClipboard = NULL; theOleClipboard = NULL;
hTheOleClipboard = 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment