OSDN Git Service

Remove PED_ASSERT action argument
[android-x86/external-parted.git] / libparted / fs / hfs / file.c
index 77213e4..9fc501b 100644 (file)
@@ -1,7 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2010 Free Software Foundation,
-    Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2011 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -147,7 +146,7 @@ hfs_file_find_sector (HfsPrivateFile* file, PedSector sector)
        }
 
        /* in the three cached extent */
-       PED_ASSERT(file->start_cache && block >= file->start_cache, return 0);
+       PED_ASSERT(file->start_cache && block >= file->start_cache);
        for (s = file->start_cache, i = 0; i < HFS_EXT_NB; i++) {
                if ((block >= s) && (block < s + PED_BE16_TO_CPU (
                                                file->cache[i].block_count))) {