summaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2014-02-10 20:08:56 +0000
committerPeter Powell <petpow@saberuk.com>2014-02-11 08:20:01 +0000
commit7fec670c9b378f5c8470204ba36a284a424a11c7 (patch)
tree722c076a747b8d3c61689f669155c9dbcb528c74 /src/socket.cpp
parentd481bf8eb1a2c2dcf27e58c82420e3f35b7670eb (diff)
Fix various problems detected by Clang 3.4.
- cidr.cpp: remove inverted_bits; unused since 9fad3ecb9215a0034bf407f192926b04cb5efaed. - cmd_stats.cpp: remove needless inversion and comparison to 0. - inspircd.cpp: remove needless comparison to 0. - socket.cpp: remove all_zero; unused since 03a1bf15b1da7643b237c22db1a478916a976ccf.
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index a695f8c73..e73d01af9 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -217,8 +217,6 @@ bool irc::sockets::satoap(const irc::sockets::sockaddrs& sa, std::string& addr,
return !addr.empty();
}
-static const char all_zero[16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 };
-
std::string irc::sockets::sockaddrs::str() const
{
char buffer[MAXBUF];