On 01/08/2013 11:41 PM, John Ferlan wrote:
---
  src/interface/interface_backend_udev.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/interface/interface_backend_udev.c 
b/src/interface/interface_backend_udev.c
index 3231b73..10b8a5d 100644
--- a/src/interface/interface_backend_udev.c
+++ b/src/interface/interface_backend_udev.c
@@ -352,7 +352,7 @@ udevIfaceListAllInterfaces(virConnectPtr conn,
          const char *path;
          const char *name;
          const char *macaddr;
-        int add_to_list;
+        int add_to_list = 0;
path = udev_list_entry_get_name(dev_entry);
          dev = udev_device_new_from_syspath(udev, path);

   ACK

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to