Skip to content

Commit 5b6b80e

Browse files
Add missing variable initialization.
1 parent 1d9b228 commit 5b6b80e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/source/detail/handler_impl.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,13 @@ class handler_impl {
168168
/// Shared pointer to the primary queue implementation. This is different from
169169
/// the queue associated with the handler if the corresponding submission is
170170
/// a fallback from a previous submission.
171-
queue_impl *MSubmissionPrimaryQueue;
171+
queue_impl *MSubmissionPrimaryQueue = nullptr;
172172

173173
/// Shared pointer to the secondary queue implementation. Nullptr if no
174174
/// secondary queue fallback was given in the associated submission. This is
175175
/// equal to the queue associated with the handler if the corresponding
176176
/// submission is a fallback from a previous submission.
177-
queue_impl *MSubmissionSecondaryQueue;
177+
queue_impl *MSubmissionSecondaryQueue = nullptr;
178178

179179
/// Bool stores information about whether the event resulting from the
180180
/// corresponding work is required.

0 commit comments

Comments
 (0)