Changeset 81349 in vbox
- Timestamp:
- Oct 18, 2019 11:18:27 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134062
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevVirtioSCSI.cpp
r81348 r81349 832 832 AssertRC(rc); 833 833 834 /* Masking used to deal with datatype size differences between APIs */834 /* Masking used to deal with datatype size differences between APIs (Windows complains otherwise) */ 835 835 Assert(!(cbXfer & 0xffffffff00000000)); 836 836 uint32_t cbXfer32 = cbXfer & 0xffffffff; … … 1301 1301 } 1302 1302 1303 PVIRTIOSCSITARGET pTarget ;1303 PVIRTIOSCSITARGET pTarget = NULL; 1304 1304 if (uTarget < pThis->cTargets) 1305 1305 pTarget = &pThis->paTargetInstances[uTarget]; … … 1359 1359 uint32_t uScsiLun = (pScsiCtrlAnQuery->uScsiLun[2] << 8 | pScsiCtrlAnQuery->uScsiLun[3]) & 0x3fff; 1360 1360 1361 PVIRTIOSCSITARGET pTarget ;1361 PVIRTIOSCSITARGET pTarget = NULL; 1362 1362 if (uTarget < pThis->cTargets) 1363 1363 pTarget = &pThis->paTargetInstances[uTarget]; … … 1412 1412 } 1413 1413 1414 PVIRTIOSCSITARGET pTarget ;1414 PVIRTIOSCSITARGET pTarget = NULL; 1415 1415 if (uTarget < pThis->cTargets) 1416 1416 pTarget = &pThis->paTargetInstances[uTarget];
Note:
See TracChangeset
for help on using the changeset viewer.