Use 'break' instead of 'continue' in a 'do { } while (false)' loop. In Source/WebCore/Modules/encryptedmedia/legacy/LegacyCDMSessionClearKey.cpp: ``` bool CDMSessionClearKey::update(Uint8Array* rawKeysData, RefPtr<Uint8Array>& nextMessage, unsigned short& errorCode, uint32_t& systemCode) { [...] do { auto rawKeysString = String::fromUTF8(rawKeysData->data(), rawKeysData->length()); if (rawKeysString.isEmpty()) { LOG(Media, "CDMSessionClearKey::update(%p) - failed: empty message", this); continue; } [...] } while (false); [...] } ``` Found by CodeQL.
<rdar://problem/99770949>
Pull request: https://github.com/WebKit/WebKit/pull/4213
Committed 254393@main (4c4c0a117195): <https://commits.webkit.org/254393@main> Reviewed commits have been landed. Closing PR #4213 and removing active labels.