summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-10-22 22:11:29 +0200
committerJan Engelhardt <jengelh@medozas.de>2010-10-22 22:25:12 +0200
commit00bc7b96c3780b5ac781b69635ec65f26b3c66c3 (patch)
tree1f45d57834dc997893f0dd87f882f597b869997a /src
parentb2068964e31f49f0fd2dbfbd7e84abbffad7cb41 (diff)
downloadlibmnl-00bc7b96c3780b5ac781b69635ec65f26b3c66c3.tar.gz
libmnl-00bc7b96c3780b5ac781b69635ec65f26b3c66c3.zip
socket: remove statement with no effect
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'src')
-rw-r--r--src/socket.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 3322ad1..9250c27 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -235,7 +235,6 @@ int mnl_socket_close(struct mnl_socket *nl)
{
int ret = close(nl->fd);
free(nl);
- nl = NULL;
return ret;
}