[webkit-changes] [WebKit/WebKit] daf8e7: Fix miscellaneous compiler warnings

Mikhail R. Gadelha noreply at github.com
Mon Oct 10 11:54:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: daf8e774bb088209699af2f2c175078242da82b1
      https://github.com/WebKit/WebKit/commit/daf8e774bb088209699af2f2c175078242da82b1
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2022-10-10 (Mon, 10 Oct 2022)

  Changed paths:
    M Source/JavaScriptCore/assembler/testmasm.cpp
    M Source/JavaScriptCore/runtime/ArrayBufferView.cpp
    M Source/WTF/wtf/text/StringCommon.h

  Log Message:
  -----------
  Fix miscellaneous compiler warnings

Reviewed by Darin Adler.

* Source/JavaScriptCore/assembler/testmasm.cpp:
(JSC::testExtractUnsignedBitfield32): fixed comparison of unsigned expression in ‘>= 0’ is always true
* Source/WTF/wtf/text/StringCommon.h:
(WTF::find): fixed comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’
* Source/JavaScriptCore/runtime/ArrayBufferView.cpp:
(JSC::ArrayBufferView::visitDerived): fixed control reaches end of non-void function

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




More information about the webkit-changes mailing list