[libvirt] [PATCH] Fix gcc 4.6 warnings

Christophe Fergeau cfergeau at redhat.com
Thu Apr 14 12:07:21 UTC 2011


On Thu, Apr 14, 2011 at 11:22:35AM +0200, Christophe Fergeau wrote:
> - vbox_tmpl.c: the variable is used inside an #ifdef and is assigned several
>   times outside of #ifdef. Fixing the warning would have required wrapping
>   all the assignment inside #ifdef which hurts readability.

On second thoughts, most of the #ifdef are already there, so it's not
too ugly to fix this one too, patch to follow.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110414/d7e3b53c/attachment-0001.sig>


More information about the libvir-list mailing list