/*
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
}
/* 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))) {