<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Remove redundant check for “firstLine” in RenderBlock::lineHeight()"
   href="https://bugs.webkit.org/show_bug.cgi?id=169610">169610</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Remove redundant check for “firstLine” in RenderBlock::lineHeight()
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebCore Misc.
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aperez&#64;igalia.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Found by Coverity Scan:

webkitgtk-2.14.5/Source/WebCore/rendering/RenderBlock.cpp:2922: cond_const: Condition &quot;firstLine&quot;, taking true branch. Now the value of &quot;firstLine&quot; is equal to 1.
webkitgtk-2.14.5/Source/WebCore/rendering/RenderBlock.cpp:2923: const: At condition &quot;firstLine&quot;, the value of &quot;firstLine&quot; must be equal to 1.
webkitgtk-2.14.5/Source/WebCore/rendering/RenderBlock.cpp:2923: dead_error_condition: The condition &quot;firstLine&quot; must be true.
webkitgtk-2.14.5/Source/WebCore/rendering/RenderBlock.cpp:2923: dead_error_line: Execution cannot reach the expression &quot;this-&gt;style()&quot; inside this statement: &quot;s = (firstLine ? this-&gt;firs...&quot;.
# 2921| 
# 2922| if (firstLine &amp;&amp; view().usesFirstLineRules()) {
# 2923|-&gt; auto&amp; s = firstLine ? firstLineStyle() : style();
# 2924| if (&amp;s != &amp;style())
# 2925| return s.computedLineHeight();</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>