summaryrefslogtreecommitdiff
path: root/missing
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2014-01-24 19:14:11 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-01-24 19:14:11 +0400
commit05baeecfff5180ea88919d00cfd7b575979e0fd2 (patch)
treeb14beb8a3f637defa2f475e054d337a5a232d384 /missing
parent6383b5c54a7b471667623a0e60f34b088be81ec9 (diff)
downloadtcpdump-05baeecfff5180ea88919d00cfd7b575979e0fd2.tar.gz
missing/inet_ntop.c fix (GH #358)
The extra 'return (NULL)' is dead code.
Diffstat (limited to 'missing')
-rw-r--r--missing/inet_ntop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/missing/inet_ntop.c b/missing/inet_ntop.c
index db741a8f..87ab7bb6 100644
--- a/missing/inet_ntop.c
+++ b/missing/inet_ntop.c
@@ -190,7 +190,6 @@ inet_ntop_v6 (const u_char *src, char *dst, size_t size)
return (NULL);
}
return strcpy (dst, tmp);
- return (NULL);
}
#endif /* INET6 */