Skip to content

Commit 9b46b9b

Browse files
authored
Merge pull request ceph#53478 from EdwardVitor/cuiming_chinamobile
auth:rectify a cmake compilation warning Reviewed-by: Casey Bodley <[email protected]>
2 parents 6c993ee + 800c148 commit 9b46b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth/cephx/CephxProtocol.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ bool CephXAuthorizer::add_challenge(CephContext *cct,
584584
auto p = challenge.begin();
585585
if (!p.end()) {
586586
std::string error;
587-
CephXAuthorizeChallenge ch;
587+
CephXAuthorizeChallenge ch{};
588588
decode_decrypt_enc_bl(cct, ch, session_key, challenge, error);
589589
if (!error.empty()) {
590590
ldout(cct, 0) << "failed to decrypt challenge (" << challenge.length() << " bytes): "

0 commit comments

Comments
 (0)