ole32: Remove unused static variable.

This commit is contained in:
Huw Davies 2009-03-17 11:55:09 +00:00 committed by Alexandre Julliard
parent 5e62686a0f
commit e6eeb3aa17
1 changed files with 1 additions and 4 deletions

View File

@ -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)
* 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)
* The Ole clipboard is a singleton (ptrToDestroy == theOleClipboard) * The Ole clipboard is a singleton (ptrToDestroy == theOleClipboard)
*/ */
theOleClipboard = NULL; theOleClipboard = NULL;
hTheOleClipboard = 0;
} }