summaryrefslogtreecommitdiff
path: root/source/test/unittests/condition_variable.test.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/test/unittests/condition_variable.test.c')
-rw-r--r--source/test/unittests/condition_variable.test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/test/unittests/condition_variable.test.c b/source/test/unittests/condition_variable.test.c
index c5b0468..2dba7ca 100644
--- a/source/test/unittests/condition_variable.test.c
+++ b/source/test/unittests/condition_variable.test.c
@@ -37,9 +37,10 @@ static int test_run(void *p) {
}
TEST("condition variable") {
+ int i;
int ok = 1;
- for (int i = 0; i < 10; i++) {
+ for (i = 0; i < 10; i++) {
test_data_t data;
data.in = 0;