[webkit-changes] [WebKit/WebKit] 4c4c0a: Use 'break' instead of 'continue' in a 'do { } whi...

EWS noreply at github.com
Mon Sep 12 11:04:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4c4c0a117195dcf53c9d7fdf61db368e9e2d59e9
      https://github.com/WebKit/WebKit/commit/4c4c0a117195dcf53c9d7fdf61db368e9e2d59e9
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M Source/WebCore/Modules/encryptedmedia/legacy/LegacyCDMSessionClearKey.cpp

  Log Message:
  -----------
  Use 'break' instead of 'continue' in a 'do { } while (false)' loop
https://bugs.webkit.org/show_bug.cgi?id=245019
<rdar://99770949>

Reviewed by Eric Carlson.

* Source/WebCore/Modules/encryptedmedia/legacy/LegacyCDMSessionClearKey.cpp:
(WebCore::CDMSessionClearKey::update):
- Change `continue` to `break` to make intent clearer without
  having to scroll to the end of the do-while loop.

Canonical link: https://commits.webkit.org/254393@main




More information about the webkit-changes mailing list