From e2feea68ac8a258ba50813a47c9b7d6750919359 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 31 Jan 2022 08:42:07 -0800 Subject: [PATCH] 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. --- src/test.c | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.47.2