Reacted on -Wextra -Wno-unused-parameter warnings of gcc for rockridge_read.c

This commit is contained in:
Thomas Schmitt 2011-05-21 23:18:00 +02:00
parent b076ce9b44
commit bb5886094e

View File

@ -81,8 +81,7 @@ int susp_iter_next(SuspIterator *iter, struct susp_sys_user_entry **sue)
* (IEEE 1281, SUSP. section 4)
*/
if (iter->ce_len) {
uint32_t block;
int nblocks;
uint32_t block, nblocks;
/* A CE has found, there is another continuation area */
nblocks = DIV_UP(iter->ce_off + iter->ce_len, BLOCK_SIZE);