Changeset 75739 in vbox
- Timestamp:
- Nov 26, 2018 3:54:49 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/include/VBox/hgcmsvc.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/hgcmsvc.h
r75737 r75739 195 195 static inline int HGCMSvcGetU32(struct VBOXHGCMSVCPARM *pParm, uint32_t *pu32) 196 196 { 197 int rc = VINF_SUCCESS; 197 198 AssertPtrReturn(pParm, VERR_INVALID_POINTER); 198 199 AssertPtrReturn(pParm, VERR_INVALID_POINTER); 199 200 AssertPtrReturn(pu32, VERR_INVALID_POINTER); 200 int rc = VINF_SUCCESS;201 201 if (pParm->type != VBOX_HGCM_SVC_PARM_32BIT) 202 202 rc = VERR_INVALID_PARAMETER; … … 209 209 static inline int HGCMSvcGetU64(struct VBOXHGCMSVCPARM *pParm, uint64_t *pu64) 210 210 { 211 int rc = VINF_SUCCESS; 211 212 AssertPtrReturn(pParm, VERR_INVALID_POINTER); 212 213 AssertPtrReturn(pParm, VERR_INVALID_POINTER); 213 214 AssertPtrReturn(pu64, VERR_INVALID_POINTER); 214 int rc = VINF_SUCCESS;215 215 if (pParm->type != VBOX_HGCM_SVC_PARM_64BIT) 216 216 rc = VERR_INVALID_PARAMETER;
Note:
See TracChangeset
for help on using the changeset viewer.

