From 62a453f0d7a7033ac3ce32ff92f26e63d0838d46 Mon Sep 17 00:00:00 2001 From: KimLS Date: Fri, 11 Feb 2022 17:30:05 -0800 Subject: [PATCH] Remove obsolete register spec on int to silence warning --- common/md5.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/md5.cpp b/common/md5.cpp index 724279bba..e3df1ff3c 100644 --- a/common/md5.cpp +++ b/common/md5.cpp @@ -194,7 +194,7 @@ void MD5::Final(uint8 digest[16], MD5Context *ctx) { /* The heart of the MD5 algorithm. */ void MD5::Transform(uint32 hash[4], const uint32 input[16]) { - register uint32 a = hash[0], b = hash[1], c = hash[2], d = hash[3]; + uint32 a = hash[0], b = hash[1], c = hash[2], d = hash[3]; MD5STEP(F1, a, b, c, d, input[ 0]+0xd76aa478, 7); MD5STEP(F1, d, a, b, c, input[ 1]+0xe8c7b756, 12);