From b4eec284b0814c01c575492af73dbe23ff81f5e8 Mon Sep 17 00:00:00 2001 From: Guillaume Nault Date: Tue, 4 Sep 2012 20:29:18 +0200 Subject: Fix format string errors Fix several errors and compiler warnings in format string arguments. Signed-off-by: Guillaume Nault --- accel-pppd/logs/log_file.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'accel-pppd/logs') diff --git a/accel-pppd/logs/log_file.c b/accel-pppd/logs/log_file.c index 6dd7203b..3a618237 100644 --- a/accel-pppd/logs/log_file.c +++ b/accel-pppd/logs/log_file.c @@ -201,7 +201,6 @@ overrun: static void send_next_chunk(void) { struct log_file_t *lf; - int n; spin_lock(&lf_queue_lock); if (list_empty(&lf_queue)) { @@ -211,7 +210,6 @@ static void send_next_chunk(void) } lf = list_entry(lf_queue.next, typeof(*lf), entry); - n = log_file->entry.next == NULL; list_del(&lf->entry); spin_unlock(&lf_queue_lock); -- cgit v1.2.3