diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-17 17:37:27 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-17 17:37:27 +0000 |
commit | 1f2483506ca384e87158d44fa2d9db53daeb11c9 (patch) | |
tree | b49c68fa4363141bdc195d8474b197461d12e2d2 /src/mcast.c | |
parent | 001805d9998229534264758432c06295614f8e2a (diff) | |
download | conntrack-tools-1f2483506ca384e87158d44fa2d9db53daeb11c9.tar.gz conntrack-tools-1f2483506ca384e87158d44fa2d9db53daeb11c9.zip |
Max Kellermann <max@duempel.org>:
remove superfluous initialization
Diffstat (limited to 'src/mcast.c')
-rw-r--r-- | src/mcast.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mcast.c b/src/mcast.c index 77aa35c..414f031 100644 --- a/src/mcast.c +++ b/src/mcast.c @@ -191,7 +191,7 @@ __mcast_client_create_ipv6(struct mcast_sock *m, struct mcast_conf *conf) struct mcast_sock *mcast_client_create(struct mcast_conf *conf) { - int ret = 0; + int ret; struct mcast_sock *m; m = (struct mcast_sock *) malloc(sizeof(struct mcast_sock)); @@ -221,6 +221,7 @@ struct mcast_sock *mcast_client_create(struct mcast_conf *conf) ret = __mcast_client_create_ipv6(m, conf); break; default: + ret = 0; break; } |