From d7a7112c8b6a20004d9bc3d912ec3ebf791f0d79 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Tue, 7 Oct 2014 10:17:02 -0400 Subject: [PATCH] removes unused qualifiers references #376 --- websocketpp/sha1/sha1.hpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/websocketpp/sha1/sha1.hpp b/websocketpp/sha1/sha1.hpp index 794c66e6af..3c73db84d7 100755 --- a/websocketpp/sha1/sha1.hpp +++ b/websocketpp/sha1/sha1.hpp @@ -42,15 +42,13 @@ namespace sha1 { namespace // local { // Rotate an integer value to left. - inline const unsigned int rol(const unsigned int value, - const unsigned int steps) - { + inline unsigned int rol(unsigned int value, unsigned int steps) { return ((value << steps) | (value >> (32 - steps))); } // Sets the first 16 integers in the buffert to zero. // Used for clearing the W buffert. - inline void clearWBuffert(unsigned int* buffert) + inline void clearWBuffert(unsigned int * buffert) { for (int pos = 16; --pos >= 0;) { @@ -58,7 +56,7 @@ namespace sha1 { } } - inline void innerHash(unsigned int* result, unsigned int* w) + inline void innerHash(unsigned int * result, unsigned int * w) { unsigned int a = result[0]; unsigned int b = result[1];