Skip to content

Commit 927b16e

Browse files
committed
Fixed alerts by lgtm
1 parent 4256d48 commit 927b16e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/md5.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ std::string MD5::hexdigest() const
347347

348348
//////////////////////////////
349349

350-
std::ostream& operator<<(std::ostream& out, MD5 md5)
350+
std::ostream& operator<<(std::ostream& out, MD5 &md5)
351351
{
352352
return out << md5.hexdigest();
353353
}

src/smallsha1.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ namespace sha1
3939
namespace // local
4040
{
4141
// Rotate an integer value to left.
42-
inline const unsigned int rol(const unsigned int value,
43-
const unsigned int steps)
42+
inline const unsigned int rol(unsigned int value,
43+
unsigned int steps)
4444
{
4545
return ((value << steps) | (value >> (32 - steps)));
4646
}

0 commit comments

Comments
 (0)