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

Jim Meyering meyering at alioth.debian.org
Mon Jan 18 14:20:00 UTC 2010


 parted/parted.c |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 9d472d35a88f3918063ae772c43cb73fb4e861f3
Author: Jim Meyering <meyering at redhat.com>
Date:   Mon Jan 18 15:19:48 2010 +0100

    maint: remove unreachable code
    
    * parted/parted.c (do_print): Remove unreachable ped_disk_destroy call.

diff --git a/parted/parted.c b/parted/parted.c
index 0d0b0b7..c4d1779 100644
--- a/parted/parted.c
+++ b/parted/parted.c
@@ -1635,7 +1635,6 @@ do_print (PedDevice** dev)
 
         return 1;
 
-        ped_disk_destroy (disk);
 error:
         return 0;
 }



More information about the Parted-commits mailing list