diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-06 11:17:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-06 11:17:58 +0300 |
commit | 1daa20ad9f6f0c433a4e0a97a74e5beb9ea4e2c7 (patch) | |
tree | 982857c47d650cb3f53df065cdcbcca827bff56d /intern/cycles/util/util_md5.cpp | |
parent | 62fbb7d4a10bea1ce88a486657a87743b93c9fd1 (diff) |
Cleanup: strip trailing space for cycles
Diffstat (limited to 'intern/cycles/util/util_md5.cpp')
-rw-r--r-- | intern/cycles/util/util_md5.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/intern/cycles/util/util_md5.cpp b/intern/cycles/util/util_md5.cpp index 749760d84f0..7cdd28a4793 100644 --- a/intern/cycles/util/util_md5.cpp +++ b/intern/cycles/util/util_md5.cpp @@ -338,7 +338,7 @@ bool MD5Hash::append_file(const string& filepath) bool success = (ferror(f) == 0); fclose(f); - + return success; } @@ -376,7 +376,7 @@ string MD5Hash::get_hex() for(int i = 0; i < 16; i++) sprintf(buf + i*2, "%02X", (unsigned int)digest[i]); buf[sizeof(buf)-1] = '\0'; - + return string(buf); } @@ -388,4 +388,3 @@ string util_md5_string(const string& str) } CCL_NAMESPACE_END - |