Skip to content

Commit 2b73112

Browse files
Update sycl/source/detail/pi.cpp
Co-authored-by: Romanov Vlad <[email protected]>
1 parent ef554f8 commit 2b73112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/pi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ constexpr const char *GVerStr = "sycl 1.0";
5555

5656
template <cl::sycl::backend BE>
5757
void *getPluginOpaqueData(void *OpaqueDataParam) {
58-
void *ReturnOpaqueData;
58+
void *ReturnOpaqueData = nullptr;
5959
const cl::sycl::detail::plugin &Plugin =
6060
cl::sycl::detail::pi::getPlugin<BE>();
6161

0 commit comments

Comments
 (0)