diff options
author | Brian C. Lane <bcl@redhat.com> | 2011-03-02 14:36:33 -0800 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-03-05 22:05:56 +0100 |
commit | 81c82ad7d495c983abe1ccb8bf983d9949854f80 (patch) | |
tree | 3e075459a53ded45a7632d8324a5dafb29acf47e /libparted/labels/aix.c | |
parent | 244b1b25a12198efb076e8c65be77b5750776583 (diff) | |
download | parted-81c82ad7d495c983abe1ccb8bf983d9949854f80.tar.gz |
Remove PED_ASSERT action argument
The action argument was a leftover from when the PED_ASSERT macro was
last changed. This removes that argument from the macro and from all
occurrences of it.
Diffstat (limited to 'libparted/labels/aix.c')
-rw-r--r-- | libparted/labels/aix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libparted/labels/aix.c b/libparted/labels/aix.c index ebef296..18d0f54 100644 --- a/libparted/labels/aix.c +++ b/libparted/labels/aix.c @@ -54,7 +54,7 @@ aix_label_magic_set (char *label, int magic_val) static int aix_probe (const PedDevice *dev) { - PED_ASSERT (dev != NULL, return 0); + PED_ASSERT (dev != NULL); void *label; if (!ptt_read_sector (dev, 0, &label)) @@ -142,7 +142,7 @@ aix_partition_duplicate (const PedPartition* part) static void aix_partition_destroy (PedPartition* part) { - PED_ASSERT (part != NULL, return); + PED_ASSERT (part != NULL); _ped_partition_free (part); } @@ -198,7 +198,7 @@ aix_get_max_supported_partition_count (const PedDisk* disk, int *max_n) static int aix_partition_align (PedPartition* part, const PedConstraint* constraint) { - PED_ASSERT (part != NULL, return 0); + PED_ASSERT (part != NULL); return 1; } |