ofproto-dpif: Initialize 'may_enable' at port construction time.
authorBen Pfaff <blp@nicira.com>
Thu, 21 Jul 2011 22:39:08 +0000 (15:39 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 22 Jul 2011 22:03:40 +0000 (15:03 -0700)
commitd5ffa7f2fedbd3f9a4156f78e5fe344cc51dbedf
treecb86dccfea77c77a3adac6a7ee7c8962b9fe31b3
parent8ea45fdc0f5100487d40e501a0946b7dc3cac38a
ofproto-dpif: Initialize 'may_enable' at port construction time.

Silences a valgrind warning:

==640== Conditional jump or move depends on uninitialised value(s)
==640==    at 0x808E623: run (ofproto-dpif.c:1444)
==640==    by 0x8086593: ofproto_run (ofproto.c:755)
==640==    by 0x806EB80: bridge_run (bridge.c:1397)
==640==    by 0x806F66C: main (ovs-vswitchd.c:90)
ofproto/ofproto-dpif.c