aboutsummaryrefslogtreecommitdiff
path: root/src/util/sha1.cpp
diff options
context:
space:
mode:
authorVincent Glize <vincentglize@hotmail.fr>2017-06-19 23:54:58 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-06-19 23:54:58 +0200
commit4a5e8ad343079f6552fab639770e5771ed7c4e7a (patch)
treeeeab3adec1fc3e7a3b06d9f53b92ab99a5e0d290 /src/util/sha1.cpp
parent4a789490834157baa8788a2f36c95b86c1e4440e (diff)
downloadminetest-4a5e8ad343079f6552fab639770e5771ed7c4e7a.tar.gz
minetest-4a5e8ad343079f6552fab639770e5771ed7c4e7a.tar.bz2
minetest-4a5e8ad343079f6552fab639770e5771ed7c4e7a.zip
C++11 cleanup on constructors (#6000)
* C++11 cleanup on constructors dir script
Diffstat (limited to 'src/util/sha1.cpp')
-rw-r--r--src/util/sha1.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/util/sha1.cpp b/src/util/sha1.cpp
index 6ed7385d5..c04b6c0c0 100644
--- a/src/util/sha1.cpp
+++ b/src/util/sha1.cpp
@@ -66,15 +66,6 @@ SHA1::SHA1()
{
// make sure that the data type is the right size
assert( sizeof( Uint32 ) * 5 == 20 );
-
- // initialize
- H0 = 0x67452301;
- H1 = 0xefcdab89;
- H2 = 0x98badcfe;
- H3 = 0x10325476;
- H4 = 0xc3d2e1f0;
- unprocessedBytes = 0;
- size = 0;
}
// Destructor ********************************************************