Skip to content

Commit 0045deb

Browse files
committed
Fix unused 'j' build failure
Variable 'j' is unused in this test and clang emits a warning. `-Werror` is enabled, so this warning is actually emitted as an error.
1 parent 04daebe commit 0045deb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/dispatch_apply.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ static void busythread(void *ignored)
6565
j += i;
6666
i += 1;
6767
}
68+
(void)j;
6869

6970
OSAtomicIncrement32(&busy_threads_finished);
7071
}

0 commit comments

Comments
 (0)