Skip to content

Commit d32bc6b

Browse files
committed
Accept their changes plus use formatting with Clang
2 parents 13ee0e8 + eb245e7 commit d32bc6b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/functional/debug/func_lpf_debug_get_unknown_dest_slot.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
void spmd(lpf_t lpf, lpf_pid_t pid, lpf_pid_t nprocs, lpf_args_t args) {
2323
(void)args;
2424
int x = 3, y = 6;
25+
(void)y; // this test purposefully tests for the (erroneous) not-use of y
2526
lpf_memslot_t xSlot = LPF_INVALID_MEMSLOT;
2627
lpf_memslot_t ySlot = xSlot + 2;
2728

tests/functional/debug/func_lpf_debug_get_unknown_source_slot.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
void spmd(lpf_t lpf, lpf_pid_t pid, lpf_pid_t nprocs, lpf_args_t args) {
2323
(void)args;
2424
int x = 3, y = 6;
25+
(void)y; // this test purposefully tests for the (erroneous) not-use of y
2526
lpf_memslot_t xSlot = LPF_INVALID_MEMSLOT;
2627
lpf_memslot_t ySlot = xSlot + 2;
2728

0 commit comments

Comments
 (0)