Fix operator bug 34/316834/4
authorYonggoo Kang <ygace.kang@samsung.com>
Thu, 29 Aug 2024 06:19:38 +0000 (15:19 +0900)
committerYonggoo Kang <ygace.kang@samsung.com>
Thu, 29 Aug 2024 06:47:46 +0000 (15:47 +0900)
This bug is found when build to tizen_x by -Werror=unused-result flag.

Change-Id: Ie1bab1a28f897231d3292f95ad2b4075dd101a0e

tests/webauthn-manual-test-app/src/scenarios.cpp

index 2c22faa50a944ac432b34fffcb6a15269bcd5b21..58a54f648bdcda6e332ca9364d33e635eede7937 100644 (file)
@@ -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;