Fix a misplaced variable declaration in block-vvfat.c
-- Heikki Lindholm
--- qemu/block-vvfat.c 2005-12-20 00:11:49.000000000 +0200 +++ qemu-build/block-vvfat.c 2006-04-22 09:48:23.000000000 +0300 @@ -1578,10 +1578,12 @@ 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);
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel