projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b56042a
)
socket-util: Suppress uninitialized variable warning with old GCC.
author
Bryan Phillippe
<bp@toroki.com>
Fri, 20 Aug 2010 16:27:16 +0000
(09:27 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 20 Aug 2010 17:43:35 +0000
(10:43 -0700)
lib/socket-util.c
patch
|
blob
|
history
diff --git
a/lib/socket-util.c
b/lib/socket-util.c
index 9031b2759f0f4c7afd9d99f01916b17aefc2478a..21d6b16df68b77d478c90acad34c14ebdb082df8 100644
(file)
--- 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. */