From 87a5a1f0ccfe0898d89229a578e3e5cb57aae650 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 13 Jan 2017 20:08:22 -0600 Subject: [PATCH] path: when stubbing pkgconf_path_relocate(), suppress unused variables warnings --- libpkgconf/path.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libpkgconf/path.c b/libpkgconf/path.c index 08b514b..922f8fb 100644 --- a/libpkgconf/path.c +++ b/libpkgconf/path.c @@ -243,6 +243,9 @@ pkgconf_path_relocate(char *buf, size_t buflen) if (*ti == '\\') *ti = '/'; } +#else + (void) buf; + (void) buflen; #endif return true;