moved misplaced declaration

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1827 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2006-04-23 14:36:41 +00:00
parent a7350fa109
commit da2414e933

View File

@ -1578,10 +1578,12 @@ static uint32_t get_cluster_count_for_direntry(BDRVVVFATState* s,
mapping = find_mapping_for_cluster(s, cluster_num);
if (mapping) {
const char* basename;
assert(mapping->mode & MODE_DELETED);
mapping->mode &= ~MODE_DELETED;
const char* basename = get_basename(mapping->path);
basename = get_basename(mapping->path);
assert(mapping->mode & MODE_NORMAL);