<div class="gmail_quote">On Fri, Sep 18, 2009 at 1:53 AM, Chris Lalancette <span dir="ltr"><<a href="mailto:clalance@redhat.com">clalance@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
> diff --git a/src/qemu_driver.c b/src/qemu_driver.c<br>
> index a65334f..ff30421 100644<br>
> --- a/src/qemu_driver.c<br>
> +++ b/src/qemu_driver.c<br>
> @@ -3912,10 +3912,15 @@ static int qemudDomainSave(virDomainPtr dom,<br>
>          goto cleanup;<br>
>      }<br>
><br>
> -    if (STREQ (prog, "raw"))<br>
> +    const char *args;<br>
<br>
I think you'll get a warning about "mixing code and data" here.  At least, it's<br>
not at the top of a block, so we should move it to the top of a block.<br></blockquote><div><br></div><div>I would have done that, but as I recall we're already declaring const char *prog immediately before its first use rather than at the top of a block, so I presumed we're using compile-time options which suppress that warning already. I'll double-check what's going on when I get back to the office.</div>
</div>