From 1469bcf6c5f4859ae6601ca91689106668a04e7a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 4 Sep 2009 11:20:23 +0200 Subject: [PATCH] qemu_conf.c: add a comment suggesting why we leave a dead-store * src/qemu_conf.c (qemuBuildHostNetStr): Do not remove the type_sep=',' dead store, since not having it would be a problem if we ever add a new attribute=VAL option. --- src/qemu_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu_conf.c b/src/qemu_conf.c index c6b4184ab0..caf518c1ce 100644 --- a/src/qemu_conf.c +++ b/src/qemu_conf.c @@ -1272,7 +1272,7 @@ qemuBuildHostNetStr(virConnectPtr conn, if (net->hostnet_name) { virBufferVSprintf(&buf, "%cname=%s", type_sep, net->hostnet_name); - type_sep = ','; + type_sep = ','; /* dead-store, but leave it, in case... */ } if (virBufferError(&buf)) { virReportOOMError(conn); -- 2.47.2