Skip to content

Commit

Permalink
set vendorValue = nullptr.
Browse files Browse the repository at this point in the history
Signed-off-by: JackAKirk <jack.kirk@codeplay.com>
  • Loading branch information
JackAKirk committed Sep 11, 2024
1 parent 5b41768 commit 8bf5bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/conformance/device/urDeviceGetGlobalTimestamps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ T absolute_difference(T a, T b) {
using urDeviceGetGlobalTimestampTest = uur::urAllDevicesTest;

TEST_F(urDeviceGetGlobalTimestampTest, Success) {
void *vendorValue;
void *vendorValue = nullptr;
size_t *pPropSizeRet = nullptr;
urDeviceGetInfo(devices[0], UR_DEVICE_INFO_VENDOR_ID, sizeof(uint32_t),
vendorValue, pPropSizeRet);
Expand Down

0 comments on commit 8bf5bec

Please sign in to comment.