Revision a6c6f76c block/vvfat.c
b/block/vvfat.c | ||
---|---|---|
2462 | 2462 |
fail = -2; |
2463 | 2463 |
break; |
2464 | 2464 |
case ACTION_WRITEOUT: { |
2465 |
#ifndef NDEBUG |
|
2466 |
/* these variables are only used by assert() below */ |
|
2465 | 2467 |
direntry_t* entry = array_get(&(s->directory), |
2466 | 2468 |
commit->param.writeout.dir_index); |
2467 | 2469 |
uint32_t begin = begin_of_direntry(entry); |
2468 | 2470 |
mapping_t* mapping = find_mapping_for_cluster(s, begin); |
2471 |
#endif |
|
2469 | 2472 |
|
2470 | 2473 |
assert(mapping); |
2471 | 2474 |
assert(mapping->begin == begin); |
Also available in: Unified diff