From: Jim Meyering <[email protected]>

---
 libparted/fs/xfs/Makefile.am |    1 +
 libparted/fs/xfs/xfs.c       |   11 -----------
 2 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/libparted/fs/xfs/Makefile.am b/libparted/fs/xfs/Makefile.am
index d5559c2..8e55052 100644
--- a/libparted/fs/xfs/Makefile.am
+++ b/libparted/fs/xfs/Makefile.am
@@ -1,3 +1,4 @@
+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
 partedincludedir       = -I$(top_srcdir)/include

 noinst_LTLIBRARIES     = libxfs.la
diff --git a/libparted/fs/xfs/xfs.c b/libparted/fs/xfs/xfs.c
index 21a0c03..9b9edc1 100644
--- a/libparted/fs/xfs/xfs.c
+++ b/libparted/fs/xfs/xfs.c
@@ -69,17 +69,6 @@ xfs_probe (PedGeometry* geom)
        return NULL;
 }

-#ifndef DISCOVER_ONLY
-static int
-xfs_clobber (PedGeometry* geom)
-{
-       char    buf[512];
-
-       memset (buf, 0, 512);
-       return ped_geometry_write (geom, buf, XFS_SB_DADDR, 1);
-}
-#endif /* !DISCOVER_ONLY */
-
 static PedFileSystemOps xfs_ops = {
        probe:          xfs_probe,
 };
-- 
1.7.5.2.660.g9f46c


_______________________________________________
bug-parted mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to