Add readability-redundant-* checks
There's a number of redundancies in our code that clang can sanitize
out. Fix the existing problems, and enable the checks.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ie63d7b7f0777b702fbf1b23a24e1bed7b4f5183b
diff --git a/http/websocket.hpp b/http/websocket.hpp
index eadb276..213c4c7 100644
--- a/http/websocket.hpp
+++ b/http/websocket.hpp
@@ -77,7 +77,7 @@
std::function<void(Connection&, const std::string&)> closeHandler,
std::function<void(Connection&)> errorHandler) :
Connection(reqIn, reqIn.session->username),
- ws(std::move(adaptorIn)), inString(), inBuffer(inString, 131088),
+ ws(std::move(adaptorIn)), inBuffer(inString, 131088),
openHandler(std::move(openHandler)),
messageHandler(std::move(messageHandler)),
closeHandler(std::move(closeHandler)),