[Webkit-unassigned] [Bug 228815] New: Fix warning in HTTPParsers.parseStructuredFieldValue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 5 01:19:26 PDT 2021


            Bug ID: 228815
           Summary: Fix warning in HTTPParsers.parseStructuredFieldValue
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rbuis at igalia.com

In file included from WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-50.cpp:8:
../../Source/WebCore/platform/network/HTTPParsers.cpp: In function ‘std::optional<std::pair<WTF::StringView, WTF::HashMap<WTF::String, WTF::String> > > WebCore::parseStructuredFieldValue(WTF::StringView)’:
../../Source/WebCore/platform/network/HTTPParsers.cpp:651:47: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  651 |                     } else if ((header[index] >= 0x00 && header[index] <= 0x1F) || (header[index] >= 0x7F && header[index] <= 0xFF)) // Not in VCHAR or SP.
      |                                 ~~~~~~~~~~~~~~^~~~~~~

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210805/de7cd3ed/attachment-0001.htm>

More information about the webkit-unassigned mailing list