Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
src: remove dead code in AddFingerprintDigest
This function is never called with md_size == 0, and it would make no sense to do so in the future either. PR-URL: #42145 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
- Loading branch information
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -427,11 +427,8 @@ void AddFingerprintDigest( | ||
| fingerprint[(3*i)+2] = ':'; | ||
| } | ||
|
|
||
| DCHECK_GT(md_size, 0); | ||
| fingerprint[(3 * (md_size - 1)) + 2] = '\0'; | ||
| } | ||
|
|
||
| template <const char* (*nid2string)(int nid)> | ||