]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
win32: Silence compiler warnings
authorpeterbudai@hotmail.com <peterbudai@hotmail.com>
Mon, 12 Mar 2018 20:38:39 +0000 (21:38 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 13 Mar 2018 13:41:24 +0000 (14:41 +0100)
src/execute.c
src/util.c

index 6579b3026010d9597d755bc4ead55057e166ebdd..d8ae86fb9692edf2b997e48e1bae33dc010128c3 100644 (file)
@@ -40,6 +40,7 @@ win32argvtos(char *prefix, char **argv)
                                break;
                        case '"':
                                bs = (bs << 1) + 1;
+                               /*FALLTHROUGH*/
                        default:
                                k += bs + 1;
                                bs = 0;
index e7258728fbdefa5502804feefe679892f47aea54..dcb8f658ecbd6231bbbd2967cc22a1fda0e625f7 100644 (file)
@@ -1684,5 +1684,7 @@ set_cloexec_flag(int fd)
        if (flags >= 0) {
                fcntl(fd, F_SETFD, flags | FD_CLOEXEC);
        }
+#else
+       (void)fd;
 #endif
 }