git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
socket-util: Suppress uninitialized variable warning with old GCC.
[sliver-openvswitch.git]
/
lib
/
socket-util.c
diff --git
a/lib/socket-util.c
b/lib/socket-util.c
index
9031b27
..
21d6b16
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. */