From: Paul Eggert Date: Mon, 31 Jan 2022 16:42:07 +0000 (-0800) Subject: test: simplify gcc pacification X-Git-Tag: v9.1~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2feea68ac8a258ba50813a47c9b7d6750919359;p=thirdparty%2Fcoreutils.git test: simplify gcc pacification * src/test.c (get_mtime) [lint]: Omit ifdef lint code that is no longer needed, as GCC has gotten smarter since 2005. --- diff --git a/src/test.c b/src/test.c index f154199ceb..6daad3b342 100644 --- a/src/test.c +++ b/src/test.c @@ -168,10 +168,6 @@ get_mtime (char const *filename, struct timespec *mtime) { struct stat finfo; bool ok = (stat (filename, &finfo) == 0); -#ifdef lint - static struct timespec const zero; - *mtime = zero; -#endif if (ok) *mtime = get_stat_mtime (&finfo); return ok;