From 0f7bfd3a8fdd0e566bb2ad93a8a71556a2933717 Mon Sep 17 00:00:00 2001 From: Julian Weigt Date: Wed, 7 Jan 2026 14:45:23 +0000 Subject: Remove assert.h. --- charf.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/charf.c b/charf.c index 032fd89..0508cc4 100644 --- a/charf.c +++ b/charf.c @@ -3,7 +3,6 @@ #include //for multithreading #include -#include #define DOUBLEMODE 0 #define DOUBLEERRORMODE 1 @@ -222,13 +221,11 @@ int main() { printf("In main: Creating thread %d.\n", i); args[i] = (Args){.p=p, .i=i}; result_code = pthread_create(&threads[i], NULL, compute_chunk, &(args[i])); - assert(!result_code); } // wait for each thread to complete for (int i = 0; i < NUM_THREADS; i++) { result_code = pthread_join(threads[i], NULL); - assert(!result_code); printf("In main: Thread %d has ended.\n", i); } -- cgit v1.2.3