Commit c8667f5
authored
[SYCL][NFC] Avoid unused variable AccTarget (#18675)
After #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
+2
-3
lines changed| 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