Skip to content

Commit 220abb0

Browse files
committed
[lldb][Utility] Fix GCC suggest braces warning for checksum value
[4314/5686] Building CXX object tools/lldb/sou...lity/CMakeFiles/lldbUtility.dir/Checksum.cpp.o <...>/Checksum.cpp:43:46: warning: suggest braces around initialization of subobject [-Wmissing-braces] llvm::MD5::MD5Result Checksum::g_sentinel = {0, 0, 0, 0, 0, 0, 0, 0, ^~~~~~~~~~~~~~~~~~~~~~~ {
1 parent 6a91b70 commit 220abb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Utility/Checksum.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ std::string Checksum::digest() const {
4040
return std::string(m_checksum.digest());
4141
}
4242

43-
llvm::MD5::MD5Result Checksum::g_sentinel = {0, 0, 0, 0, 0, 0, 0, 0,
44-
0, 0, 0, 0, 0, 0, 0, 0};
43+
llvm::MD5::MD5Result Checksum::g_sentinel = {
44+
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}};

0 commit comments

Comments
 (0)