Changeset 24320 in vbox for trunk/src/VBox/Additions/common/VBoxGuestLib
- Timestamp:
- Nov 4, 2009 11:38:15 AM (15 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxGuestLib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/Init.cpp
r21461 r24320 138 138 int rc = VINF_SUCCESS; 139 139 140 memset(&g_vbgldata, 0, sizeof (VBGLDATA));140 RT_ZERO(g_vbgldata); 141 141 142 142 g_vbgldata.status = VbglStatusInitializing; … … 159 159 VbglPhysHeapTerminate (); 160 160 161 memset(&g_vbgldata, 0, sizeof (VBGLDATA));161 RT_ZERO(g_vbgldata); 162 162 163 163 return; -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibClipboard.cpp
r21211 r24320 42 42 Info.result = VERR_WRONG_ORDER; 43 43 Info.Loc.type = VMMDevHGCMLoc_LocalHost_Existing; 44 memset(&Info.Loc.u, 0, sizeof(Info.Loc.u));44 RT_ZERO(Info.Loc.u); 45 45 strcpy(Info.Loc.u.host.achName, "VBoxSharedClipboard"); 46 46 Info.u32ClientID = UINT32_MAX; /* try make valgrid shut up. */ -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibDaemonize.cpp
r21211 r24320 147 147 struct sigaction OldSigAct; 148 148 struct sigaction SigAct; 149 memset(&SigAct, 0, sizeof(SigAct));149 RT_ZERO(SigAct); 150 150 SigAct.sa_handler = SIG_IGN; 151 151 int rcSigAct = sigaction(SIGHUP, &SigAct, &OldSigAct); -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibGuestProp.cpp
r22761 r24320 69 69 Info.result = VERR_WRONG_ORDER; 70 70 Info.Loc.type = VMMDevHGCMLoc_LocalHost_Existing; 71 memset(&Info.Loc.u, 0, sizeof(Info.Loc.u));71 RT_ZERO(Info.Loc.u); 72 72 strcpy(Info.Loc.u.host.achName, "VBoxGuestPropSvc"); 73 73 Info.u32ClientID = UINT32_MAX; /* try make valgrid shut up. */ -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibSeamless.cpp
r21219 r24320 47 47 int rc = VINF_SUCCESS; 48 48 49 memset(&vmmreqGuestCaps, 0, sizeof(vmmreqGuestCaps));49 RT_ZERO(vmmreqGuestCaps); 50 50 vmmdevInitRequest(&vmmreqGuestCaps.header, VMMDevReq_ReportGuestCapabilities); 51 51 vmmreqGuestCaps.caps = fState ? VMMDEV_GUEST_SUPPORTS_SEAMLESS : 0;
Note:
See TracChangeset
for help on using the changeset viewer.