[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Fri Jul 6 11:53:50 UTC 2007


 parted/strlist.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 6bb92fa2beb9cdf72c18c55dc89a24091913ab8b
Author: Jim Meyering <jim at meyering.net>
Date:   Fri Jul 6 13:53:39 2007 +0200

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

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;
 }
-



More information about the Parted-commits mailing list