lib: remove duplicate #include <config.h>
[sliver-openvswitch.git] / lib / netdev-bsd.c
index 0b1a37c..256955d 100644 (file)
@@ -17,7 +17,6 @@
 #include <config.h>
 
 #include <stdlib.h>
-#include <config.h>
 #include <assert.h>
 #include <errno.h>
 #include <fcntl.h>
@@ -453,7 +452,7 @@ netdev_bsd_listen(struct netdev *netdev_)
     struct netdev_bsd *netdev = netdev_bsd_cast(netdev_);
     char errbuf[PCAP_ERRBUF_SIZE];
     int error;
-    int fd;
+    int fd = -1;
     int one = 1;
 
     if (netdev->netdev_fd >= 0) {