[webkit-gtk] Dead code in Font.cpp

Eike Rathke erack at redhat.com
Thu Mar 28 07:59:38 PDT 2019


Hi,

covscan found (exceptionally real) dead code in
Source/WebCore/platform/graphics/Font.cpp
codePointSupportIndex()
line 165 and 168 the cases newlineCharacter and tabCharacter are never
reached because earlier if (codePoint < 0x20) bails out already.
Probably add exemptions there for these two characters.

  Eike

-- 
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20190328/c2385ccb/attachment.bin>


More information about the webkit-gtk mailing list