Skip to content

Commit 65b8c84

Browse files
committed
Fix unused warning in utility.hpp
1 parent 64ef860 commit 65b8c84

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/experimental/__p0009_bits/utility.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ check_mul_result_is_nonnegative_and_representable(T a, T b) {
208208
// FIXME_SYCL The code below compiles to old_llvm.umul.with.overflow.i64
209209
// which isn't defined in device code
210210
#ifdef __SYCL_DEVICE_ONLY__
211+
(void) a;
212+
(void) b;
211213
return true;
212214
#else
213215
if (b == 0 || a == 0)

0 commit comments

Comments
 (0)