From: Jim Meyering <[email protected]>
---
libparted/fs/ntfs/Makefile.am | 1 +
libparted/fs/ntfs/ntfs.c | 11 -----------
2 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/libparted/fs/ntfs/Makefile.am b/libparted/fs/ntfs/Makefile.am
index 30fca41..732692a 100644
--- a/libparted/fs/ntfs/Makefile.am
+++ b/libparted/fs/ntfs/Makefile.am
@@ -1,3 +1,4 @@
+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
partedincludedir = -I$(top_srcdir)/include
noinst_LTLIBRARIES = libntfs.la
diff --git a/libparted/fs/ntfs/ntfs.c b/libparted/fs/ntfs/ntfs.c
index 7cb1db4..da69497 100644
--- a/libparted/fs/ntfs/ntfs.c
+++ b/libparted/fs/ntfs/ntfs.c
@@ -50,17 +50,6 @@ ntfs_probe (PedGeometry* geom)
return NULL;
}
-#ifndef DISCOVER_ONLY
-static int
-ntfs_clobber (PedGeometry* geom)
-{
- char buf[512];
-
- memset (buf, 0, 512);
- return ped_geometry_write (geom, buf, 0, 1);
-}
-#endif /* !DISCOVER_ONLY */
-
static PedFileSystemOps ntfs_ops = {
probe: ntfs_probe,
};
--
1.7.5.2.660.g9f46c
_______________________________________________
bug-parted mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-parted