Commit c8667f5
Steffen Larsen
[SYCL][NFC] Avoid unused variable AccTarget (#18675)
After intel/llvm#18437, the runtime library is
producing a warning about an unused variable AccTarget in handler.cpp.
This is due to the variable only being used in assert, which may in turn
be removed when assertions are disabled. This commit removes the
variable in favor of making the conversion inside the assert.
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>1 parent f063fea commit c8667f5
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1234 | 1234 | | |
1235 | 1235 | | |
1236 | 1236 | | |
1237 | | - | |
1238 | | - | |
1239 | 1237 | | |
1240 | | - | |
| 1238 | + | |
| 1239 | + | |
1241 | 1240 | | |
1242 | 1241 | | |
1243 | 1242 | | |
| |||
0 commit comments