From: Jim Meyering <meyer...@redhat.com> --- libparted/fs/jfs/Makefile.am | 1 + libparted/fs/jfs/jfs.c | 11 ----------- 2 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/libparted/fs/jfs/Makefile.am b/libparted/fs/jfs/Makefile.am index 9e316a0..a477874 100644 --- a/libparted/fs/jfs/Makefile.am +++ b/libparted/fs/jfs/Makefile.am @@ -1,3 +1,4 @@ +AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) partedincludedir = -I$(top_srcdir)/include noinst_LTLIBRARIES = libjfs.la diff --git a/libparted/fs/jfs/jfs.c b/libparted/fs/jfs/jfs.c index 4364817..2095002 100644 --- a/libparted/fs/jfs/jfs.c +++ b/libparted/fs/jfs/jfs.c @@ -64,17 +64,6 @@ jfs_probe (PedGeometry* geom) } } -#ifndef DISCOVER_ONLY -static int -jfs_clobber (PedGeometry* geom) -{ - char buf[512]; - - memset (buf, 0, 512); - return ped_geometry_write (geom, buf, JFS_SUPER_SECTOR, 1); -} -#endif /* !DISCOVER_ONLY */ - static PedFileSystemOps jfs_ops = { probe: jfs_probe, }; -- 1.7.5.2.660.g9f46c _______________________________________________ bug-parted mailing list bug-parted@gnu.org https://lists.gnu.org/mailman/listinfo/bug-parted