Commit 01b8ddef authored by Adam Wujek's avatar Adam Wujek 💬

libtools: remove warning from function change_config_thread

Remove following warning:
fald-acq.c: In function ‘change_config_thread’:
fald-acq.c:522:1: warning: no return statement in function returning
non-void [-Wreturn-type]
 }
 ^
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 1b8b44f7
......@@ -519,6 +519,8 @@ static void *change_config_thread(void *arg)
fd = open(adcfifo, O_RDONLY);
}
}
/* function never returns, but return NULL to avoid warning */
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment