[Webkit-unassigned] [Bug 137144] New: [GTK] webkitgtk-2.5.90/Source/JavaScriptCore/yarr/YarrPattern.cpp:300: possible bad if ?
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 26 00:28:38 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=137144
Summary: [GTK]
webkitgtk-2.5.90/Source/JavaScriptCore/yarr/YarrPatter
n.cpp:300: possible bad if ?
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P3
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dcb314 at hotmail.com
webkitgtk-2.5.90/Source/JavaScriptCore/yarr/YarrPattern.cpp:300]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.
Source code is
if (!m_alternative->m_terms.size() & !m_invertParentheticalAssertion) {
Maybe
if (!m_alternative->m_terms.size() && !m_invertParentheticalAssertion) {
was intended.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list