summaryrefslogtreecommitdiff
path: root/libparted/fs/amiga/amiga.c
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2011-03-02 14:36:33 -0800
committerJim Meyering <meyering@redhat.com>2011-03-05 22:05:56 +0100
commit81c82ad7d495c983abe1ccb8bf983d9949854f80 (patch)
tree3e075459a53ded45a7632d8324a5dafb29acf47e /libparted/fs/amiga/amiga.c
parent244b1b25a12198efb076e8c65be77b5750776583 (diff)
downloadparted-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/fs/amiga/amiga.c')
-rw-r--r--libparted/fs/amiga/amiga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libparted/fs/amiga/amiga.c b/libparted/fs/amiga/amiga.c
index 415208a..7052bfc 100644
--- a/libparted/fs/amiga/amiga.c
+++ b/libparted/fs/amiga/amiga.c
@@ -268,8 +268,8 @@ amiga_find_part (PedGeometry *geom, struct PartitionBlock *part)
uint32_t partlist[AMIGA_MAX_PARTITIONS];
int i;
- PED_ASSERT(geom!= NULL, return NULL);
- PED_ASSERT(geom->dev!= NULL, return NULL);
+ PED_ASSERT(geom!= NULL);
+ PED_ASSERT(geom->dev!= NULL);
if (!(rdb = ped_malloc (PED_SECTOR_SIZE_DEFAULT))) {
switch (ped_exception_throw(PED_EXCEPTION_ERROR,