From 8b638f994abefde84746b3d8a08893c9ffeb7799 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 6 Mar 2009 10:49:18 +0100 Subject: maint: avoid new unused-macro warnings from gcc * src/ls.c (ASSERT_MATCHING_DEV_INO): Comment-out unused definition, to match commented-out use. * src/install.c (INITIAL_HASH_MODULE, INITIAL_ENTRY_TAB_SIZE): (READ_SIZE): Remove definitions of unused macros. * src/mv.c (INITIAL_HASH_MODULE, INITIAL_ENTRY_TAB_SIZE): Likewise. * src/dd.c (max): Likewise. * src/expand.c (OUTPUT_BLOCK): Likewise. * src/csplit.c (ALLOC_SIZE): Likewise. * src/pr.c (NULLCOL): Likewise. * src/ptx.c (Sword): Likewise. * src/unexpand.c (OUTPUT_BLOCK): Likewise. * src/factor.c (NDEBUG): Likewise. --- src/ls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ls.c') diff --git a/src/ls.c b/src/ls.c index 5d0deecaf..fa6a59a9d 100644 --- a/src/ls.c +++ b/src/ls.c @@ -943,6 +943,7 @@ dev_ino_pop (void) return *(struct dev_ino *) obstack_next_free (&dev_ino_obstack); } +/* Note the use commented out below: #define ASSERT_MATCHING_DEV_INO(Name, Di) \ do \ { \ @@ -953,7 +954,7 @@ dev_ino_pop (void) assert (sb.st_ino == Di.st_ino); \ } \ while (0) - +*/ /* Write to standard output PREFIX, followed by the quoting style and a space-separated list of the integers stored in OS all on one line. */ -- cgit v1.2.3-54-g00ecf