From ed1ee10f065093fe560b31ade9e153879c49d9e7 Mon Sep 17 00:00:00 2001 From: Wu Yingcong Date: Mon, 25 Nov 2024 10:01:53 +0800 Subject: [PATCH] set to nullptr --- sycl/test-e2e/syclcompat/launch/launch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/test-e2e/syclcompat/launch/launch.cpp b/sycl/test-e2e/syclcompat/launch/launch.cpp index 35fb14d297136..b2f0a2def40ec 100644 --- a/sycl/test-e2e/syclcompat/launch/launch.cpp +++ b/sycl/test-e2e/syclcompat/launch/launch.cpp @@ -119,7 +119,7 @@ void test_ptr_arg_launch() { std::cout << __PRETTY_FUNCTION__ << std::endl; LaunchTest lt; - int *int_ptr; + int *int_ptr = nullptr; syclcompat::launch(lt.range_1_, int_ptr); syclcompat::launch(lt.range_2_, int_ptr);