[libvirt] [PATCH] Remove C99 variable declare in PHYP network driver

Eric Blake eblake at redhat.com
Wed Apr 13 19:17:00 UTC 2011


On 04/13/2011 12:15 PM, Daniel P. Berrange wrote:
> Move the virInterfacePtr declaration to the top of the
> function to avoid jump uninitialized variable warnings
> 
> * src/phyp/phyp_driver.c: Fix var declaration
> ---
>  src/phyp/phyp_driver.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> Pushed to fix the broken build...

Oops - I guess gcc on RHEL 6 is older than gcc on Fedora 14, or I would
have caught that.  Thanks.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110413/4e172ba2/attachment-0001.sig>


More information about the libvir-list mailing list