Skip to contentSkip to conversation

Remove invalid compiler warning

PATCH In review Bruce Dubbs 2 participants 2 messages Apr 17, 2013 – May 7, 2013 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove invalid compiler warning

I'm not that familiar with git, but this patch is really small. Remove an irritating compiler warning in two programs.

-- Bruce Dubbs

text-utils/Makemodule.am 2013-04-16 21:54:21.595291067 -0500 renamed from text-utils/Makemodule.am 2013-03-11 05:20:39.424933506 -0500 +2 -0
@@ -53,6 +53,7 @@
 usrbin_exec_PROGRAMS += pg
 dist_man_MANS += text-utils/pg.1
 pg_SOURCES = text-utils/pg.c
+pg_CFLAGS = -Wno-clobbered
 pg_LDADD = $(LDADD) libcommon.la @NCURSES_LIBS@
 if HAVE_TINFO
 pg_LDADD += -ltinfo
@@ -77,6 +78,7 @@
 bin_PROGRAMS += more
 dist_man_MANS += text-utils/more.1
 more_SOURCES = text-utils/more.c
+more_CFLAGS = -Wno-clobbered
 more_LDADD = $(LDADD)
 if HAVE_TINFO
 more_LDADD += -ltinfo