From: Yonggoo Kang Date: Thu, 29 Aug 2024 06:19:38 +0000 (+0900) Subject: Fix operator bug X-Git-Tag: accepted/tizen/unified/20240830.010912~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1658b825d18c3a09bf4846fc3d31423f5e3abbd;p=platform%2Fcore%2Fsecurity%2Fwebauthn.git Fix operator bug This bug is found when build to tizen_x by -Werror=unused-result flag. Change-Id: Ie1bab1a28f897231d3292f95ad2b4075dd101a0e --- diff --git a/tests/webauthn-manual-test-app/src/scenarios.cpp b/tests/webauthn-manual-test-app/src/scenarios.cpp index 2c22faa..58a54f6 100644 --- a/tests/webauthn-manual-test-app/src/scenarios.cpp +++ b/tests/webauthn-manual-test-app/src/scenarios.cpp @@ -317,7 +317,7 @@ void ResponseCbGA(const wauthn_pubkey_credential_assertion_s *pubkey_cred, { if (cred.second.id == credentialRawId) // Found { - contents->userId == cred.first; + contents->userId = cred.first; isFound = true; std::cout << "Found credential of userId(" << LowercaseHexStringOf(cred.first) << "): "<< LowercaseHexStringOf(credentialRawId) << std::endl;