From: peterbudai@hotmail.com Date: Mon, 12 Mar 2018 20:38:39 +0000 (+0100) Subject: win32: Silence compiler warnings X-Git-Tag: v3.4.2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48e11567c56c07e48a7366c4696573033e1102c2;p=thirdparty%2Fccache.git win32: Silence compiler warnings --- diff --git a/src/execute.c b/src/execute.c index 6579b3026..d8ae86fb9 100644 --- a/src/execute.c +++ b/src/execute.c @@ -40,6 +40,7 @@ win32argvtos(char *prefix, char **argv) break; case '"': bs = (bs << 1) + 1; + /*FALLTHROUGH*/ default: k += bs + 1; bs = 0; diff --git a/src/util.c b/src/util.c index e7258728f..dcb8f658e 100644 --- a/src/util.c +++ b/src/util.c @@ -1684,5 +1684,7 @@ set_cloexec_flag(int fd) if (flags >= 0) { fcntl(fd, F_SETFD, flags | FD_CLOEXEC); } +#else + (void)fd; #endif }