From: Roy Marples Date: Wed, 3 Jun 2020 22:12:59 +0000 (+0100) Subject: auth: Fix warning for non privsep builds X-Git-Tag: v9.1.1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbb2366d5f207118bfeab76413efe96d4fcfd6f8;p=thirdparty%2Fdhcpcd.git auth: Fix warning for non privsep builds --- diff --git a/src/auth.c b/src/auth.c index 38b43116..b7891b68 100644 --- a/src/auth.c +++ b/src/auth.c @@ -483,6 +483,9 @@ get_next_rdm_monotonic_clock(struct auth *auth) static uint64_t get_next_rdm_monotonic(struct dhcpcd_ctx *ctx, struct auth *auth) { +#ifndef PRIVSEP + UNUSED(ctx); +#endif if (auth->options & DHCPCD_AUTH_RDM_COUNTER) { uint64_t rdm;