test: fix build warnings for most tests

Let rsync.c continue to warn, it's not complete ...

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-10-03 12:22:33 +02:00
1 parent 75139cdf3c
commit ef4a8691d3
4 files changed
+16 -13

No files matched your search

+4
View File
@@ -17,12 +17,16 @@ static struct stat before, after;
static void sigterm_handler(int signo)
{
(void)signo;
PRINT("Exiting ...\n");
remove(PIDFILE);
}
static void sigalrm_handler(int signo)
{
(void)signo;
PRINT("Calling pidfile(%s)\n", pidfile_arg ?: "NULL");
if (pidfile(pidfile_arg))
err(1, "failed creating1 %s", pidfile_arg);