* [Qemu-devel] [PATCH] fix misplaced declaration in block-vvfat.c
@ 2006-04-22 7:12 Heikki Lindholm
0 siblings, 0 replies; only message in thread
From: Heikki Lindholm @ 2006-04-22 7:12 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 74 bytes --]
Fix a misplaced variable declaration in block-vvfat.c
-- Heikki Lindholm
[-- Attachment #2: patch-block-vvfat_c --]
[-- Type: text/plain, Size: 486 bytes --]
--- 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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-04-22 7:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-22 7:12 [Qemu-devel] [PATCH] fix misplaced declaration in block-vvfat.c Heikki Lindholm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).