Skip to content

Commit

Permalink
Remove unneeded null char
Browse files Browse the repository at this point in the history
  • Loading branch information
tulpenkiste committed Jan 30, 2025
1 parent 1071d5a commit 624d50d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/addon/md5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ std::string MD5::hex_digest() {
snprintf(so, 3, "%02x", digest[i]);
}

s[32]='\0';

// Create string from 's'
std::string s_str = std::string(s);
delete[] s;
Expand Down

0 comments on commit 624d50d

Please sign in to comment.