From: Michihiro NAKAJIMA Date: Mon, 16 May 2011 04:18:20 +0000 (-0400) Subject: ctime and ctime_nanos are not used in set_times() on Windows. X-Git-Tag: v3.0.0a~346 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ed02ca2adcc50f38f13d2853d2a07114cc7b3ab;p=thirdparty%2Flibarchive.git ctime and ctime_nanos are not used in set_times() on Windows. SVN-Revision: 3341 --- diff --git a/libarchive/archive_write_disk_windows.c b/libarchive/archive_write_disk_windows.c index 36b412210..863dcdc9e 100644 --- a/libarchive/archive_write_disk_windows.c +++ b/libarchive/archive_write_disk_windows.c @@ -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 {