vconn: Fix endian issue in unknown action type error message
[openvswitch] / lib / dpif.c
index e823fa348a5183b6a10a57b07cadde1a2315f0b5..649c2464c8aae38a11a3f0e7f23ab10640ad448f 100644 (file)
@@ -397,7 +397,7 @@ dpif_port_list(const struct dpif *dpif,
                struct odp_port **portsp, size_t *n_portsp)
 {
     struct odp_port *ports;
-    size_t n_ports;
+    size_t n_ports = 0;
     int error;
 
     for (;;) {