From c8683cda1c5c49923bf66a304b33ab7f11684db9 Mon Sep 17 00:00:00 2001 From: neingeist Date: Tue, 10 Dec 2013 17:59:53 +0100 Subject: [PATCH] mark arg of compmandelbrot as unused to suppress compiler warning --- multibrot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multibrot.c b/multibrot.c index 7c98120..1bc1218 100644 --- a/multibrot.c +++ b/multibrot.c @@ -93,7 +93,7 @@ pthread_mutex_t next_y_mutex; * * @param arg (not used, but necessary for pthread_create.) */ -void *compmandelbrot(void *arg) { +void *compmandelbrot(void *arg __attribute__((__unused__))) { size_t y = 0; while (y < mbrot->height) { int ret;