From ec91092df8f70c4abef6bbb3c4dec6d9511405fe Mon Sep 17 00:00:00 2001 From: ENikS Date: Fri, 5 Sep 2014 11:37:01 -0400 Subject: Fixing compiler warning C4101 Github-Pull: #4856 --- src/net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net.cpp') diff --git a/src/net.cpp b/src/net.cpp index b18944a26..a4bafe591 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -689,7 +689,7 @@ int CNetMessage::readHeader(const char *pch, unsigned int nBytes) try { hdrbuf >> hdr; } - catch (std::exception &e) { + catch (const std::exception &) { return -1; } -- cgit v1.2.3