]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dataobj.cpp
Don't call StartingKey if the key was F2
[wxWidgets.git] / src / os2 / dataobj.cpp
index 2b1084a421630432c23bb38b80b4bbf669b2ec9c..880095708b357858a7e65f9743f0eb62cefe582a 100644 (file)
 // functions
 // ----------------------------------------------------------------------------
 
-#ifdef __WXDEBUG__
-    static const wxChar *GetTymedName(DWORD tymed);
-#endif // Debug
-
 // ----------------------------------------------------------------------------
 // wxDataFormat
 // ----------------------------------------------------------------------------
@@ -162,7 +158,7 @@ void CIDataObject::SetData (
 , char*                             pzBuffer
 )
 {
-    ULONG                           ulSize;
+    ULONG                           ulSize = 0;
 
     switch (rFormat.GetType())
     {