diff options
author | Bryan Phillippe <bp@toroki.com> | 2010-08-20 09:27:16 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-08-20 10:43:35 -0700 |
commit | 50d2d532ed4615279bbeba010c9545c629c7c107 (patch) | |
tree | 094b0cf3764a89466d8e0adf0dfde521e352f3ae /lib | |
parent | b56042ac5deef373cefe156fc18dc38257d6ddfe (diff) | |
download | openvswitch-50d2d532ed4615279bbeba010c9545c629c7c107.tar.gz |
socket-util: Suppress uninitialized variable warning with old GCC.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/socket-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/socket-util.c b/lib/socket-util.c index 9031b2759..21d6b16df 100644 --- a/lib/socket-util.c +++ b/lib/socket-util.c @@ -456,7 +456,7 @@ inet_open_passive(int style, const char *target_, int default_port, struct sockaddr_in sin; const char *host_name; const char *port_string; - int fd, error, port; + int fd = 0, error, port; unsigned int yes = 1; /* Address defaults. */ |