Skip to content

Commit e6accbb

Browse files
baderromanovvlad
authored andcommitted
[SYCL][NFC] Fix "unused variable" warning (#886)
Signed-off-by: Alexey Bader <[email protected]>
1 parent 1ce40fa commit e6accbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/source/detail/pi.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ bool bindPlugin(void *Library) {
8484
// TODO: Compare Supported versions and check for backward compatibility.
8585
// Make sure err is PI_SUCCESS.
8686
assert((err == PI_SUCCESS) && "Unexpected error when binding to Plugin.");
87+
(void)err;
8788

8889
// TODO: Return a more meaningful value/enum.
8990
return true;

0 commit comments

Comments
 (0)