[parted-devel] Let "make distcheck" pass once again

Jim Meyering jim at meyering.net
Fri Jul 6 11:54:44 UTC 2007


FYI, I checked this in, too:

	Let "make distcheck" pass once again.
	* parted/strlist.c (str_list_alloc): Remove unnecessary
	cast of xmalloc return value.

Signed-off-by: Jim Meyering <jim at meyering.net>
---
 parted/strlist.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/parted/strlist.c b/parted/strlist.c
index 7ddd692..d367a63 100644
--- a/parted/strlist.c
+++ b/parted/strlist.c
@@ -209,7 +209,7 @@ str_list_alloc ()
 {
 	StrList*	list;

-	list = (StrList*) xmalloc (sizeof (StrList));
+	list = xmalloc (sizeof (StrList));
 	list->next = NULL;

 	return list;
@@ -585,4 +585,3 @@ str_list_length (const StrList* list)

 	return length;
 }
-
--
1.5.3.rc0.11.ge2b1a-dirty



More information about the parted-devel mailing list