Skip to content

Commit b31c5ac

Browse files
committed
Do not overwrite ret code in level_zero_shared_memory example
1 parent f570e7e commit b31c5ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/level_zero_shared_memory/level_zero_shared_memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,6 @@ int main(void) {
189189
umfLevelZeroMemoryProviderParamsDestroy(ze_memory_provider_params);
190190

191191
level_zero_destroy:
192-
ret = destroy_context(hContext);
192+
destroy_context(hContext);
193193
return ret;
194194
}

0 commit comments

Comments
 (0)