]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
ctime and ctime_nanos are not used in set_times() on Windows.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Mon, 16 May 2011 04:18:20 +0000 (00:18 -0400)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Mon, 16 May 2011 04:18:20 +0000 (00:18 -0400)
SVN-Revision: 3341

libarchive/archive_write_disk_windows.c

index 36b41221026e3c790c74512cb5aa2e9c06443399..863dcdc9ef7eb85bcd06a3be31c1df076c60c9d9 100644 (file)
@@ -2144,6 +2144,9 @@ set_times(struct archive_write_disk *a,
        FILETIME *pfbtime;
        FILETIME fatime, fbtime, fmtime;
 
+       (void)ctime; /* UNUSED */
+       (void)ctime_nanos; /* UNUSED */
+
        if (h != INVALID_HANDLE_VALUE) {
                hw = NULL;
        } else {