mark arg of compmandelbrot as unused to suppress compiler warning

This commit is contained in:
neingeist 2013-12-10 17:59:53 +01:00
parent c810a1889c
commit c8683cda1c

View file

@ -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;