Changeset 7411 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Mar 10, 2008 3:11:41 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28844
- Location:
- trunk/src/VBox/Additions/common/VBoxGuestLib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibClipboard.cpp
r6470 r7411 38 38 VBGLR3DECL(int) VbglR3ClipboardConnect(uint32_t *pu32ClientId) 39 39 { 40 VBoxGuestHGCMConnectInfo Info; 40 VBoxGuestHGCMConnectInfo Info = { 0 }; 41 41 42 Info.result = (uint32_t)VERR_WRONG_ORDER; /** @todo drop the cast when the result type has been fixed! */ 42 43 Info.Loc.type = VMMDevHGCMLoc_LocalHost_Existing; 43 memset(&Info.Loc.u, 0, sizeof(Info.Loc.u));44 // memset(&Info.Loc.u, 0, sizeof(Info.Loc.u)); 44 45 strcpy(Info.Loc.u.host.achName, "VBoxSharedClipboard"); 45 46 … … 86 87 VBGLR3DECL(int) VbglR3ClipboardGetHostMsg(uint32_t u32ClientId, uint32_t *pMsg, uint32_t *pfFormats) 87 88 { 88 VBoxClipboardGetHostMsg Msg ;89 VBoxClipboardGetHostMsg Msg = { 0 }; 89 90 90 91 Msg.hdr.result = (uint32_t)VERR_WRONG_ORDER; /** @todo drop the cast when the result type has been fixed! */ -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibSeamless.cpp
r7367 r7411 65 65 VBGLR3DECL(int) VbglR3SeamlessWaitEvent(VMMDevSeamlessMode *pMode) 66 66 { 67 VBoxGuestWaitEventInfo waitEvent ;67 VBoxGuestWaitEventInfo waitEvent = { 0 }; 68 68 int rc; 69 69 -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibVideo.cpp
r6849 r7411 163 163 uint32_t *piDisplay) 164 164 { 165 VBoxGuestWaitEventInfo waitEvent ;165 VBoxGuestWaitEventInfo waitEvent = { 0 }; 166 166 int rc; 167 167
Note:
See TracChangeset
for help on using the changeset viewer.