summaryrefslogtreecommitdiffstats
path: root/test/sem_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-31 15:48:28 +0100
committerDavid Robillard <d@drobilla.net>2020-12-31 18:13:35 +0100
commitad42412e3353893ccb365cf357a286b0afe545ba (patch)
treea5b1951eeb2d8a396e5d3d33dbf9cee8d326d6b9 /test/sem_test.c
parenta4a67d67cbbed4e027a4587c9956adbd404d097d (diff)
downloadzix-ad42412e3353893ccb365cf357a286b0afe545ba.tar.gz
zix-ad42412e3353893ccb365cf357a286b0afe545ba.tar.bz2
zix-ad42412e3353893ccb365cf357a286b0afe545ba.zip
Initialize all variables
Diffstat (limited to 'test/sem_test.c')
-rw-r--r--test/sem_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sem_test.c b/test/sem_test.c
index 5db7c08..a1f2a0e 100644
--- a/test/sem_test.c
+++ b/test/sem_test.c
@@ -68,13 +68,13 @@ main(int argc, char** argv)
return 1;
}
- ZixThread reader_thread;
+ ZixThread reader_thread; // NOLINT
if (zix_thread_create(&reader_thread, 128, reader, NULL)) {
fprintf(stderr, "Failed to create reader thread\n");
return 1;
}
- ZixThread writer_thread;
+ ZixThread writer_thread; // NOLINT
if (zix_thread_create(&writer_thread, 128, writer, NULL)) {
fprintf(stderr, "Failed to create writer thread\n");
return 1;