<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>124704</bug_id>
          
          <creation_ts>2013-11-21 01:44:28 -0800</creation_ts>
          <short_desc>Fix WinCairo unreachable code warnings in SimpleLineLayout.cpp</short_desc>
          <delta_ts>2013-11-21 18:57:22 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laszlo Vidacs">lvidacs.u-szeged</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>esprehn+autocc</cc>
    
    <cc>galpeter</cc>
    
    <cc>glenn</cc>
    
    <cc>koivisto</cc>
    
    <cc>kondapallykalyan</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>952993</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Vidacs">lvidacs.u-szeged</who>
    <bug_when>2013-11-21 01:44:28 -0800</bug_when>
    <thetext>Early return causes unreachable code warnings on specific platforms.

http://build.webkit.org/builders/WinCairo%20Release/builds/33430/steps/compile-webkit/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>952998</commentid>
    <comment_count>1</comment_count>
      <attachid>217535</attachid>
    <who name="Laszlo Vidacs">lvidacs.u-szeged</who>
    <bug_when>2013-11-21 01:51:37 -0800</bug_when>
    <thetext>Created attachment 217535
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>953130</commentid>
    <comment_count>2</comment_count>
      <attachid>217535</attachid>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2013-11-21 09:28:31 -0800</bug_when>
    <thetext>Comment on attachment 217535
Patch

You should fix the warning settings instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>953138</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-11-21 09:36:12 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 217535 [details])
&gt; You should fix the warning settings instead.

Do you really prefer ignoring unreachable code warnings instead of 
getting rid the unreachable codes from the source with proper guarding?

I don&apos;t think if it is a good idea.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>953267</commentid>
    <comment_count>4</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2013-11-21 13:20:57 -0800</bug_when>
    <thetext>One port using different warning settings than every other port just creates churn.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>953269</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-11-21 13:30:02 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; One port using different warning settings than every other port just creates churn.

It&apos;s not a about warning settings. There is an ifdef guard:
&quot;#if !PLATFORM(MAC) &amp;&amp; !PLATFORM(GTK) &amp;&amp; !PLATFORM(EFL)&quot; with early return.

After the #endif everything is unreachable code on all platform
which is not Mac, GTK and EFL. Unreachable code is unreachable code 
and not warning setting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>953308</commentid>
    <comment_count>6</comment_count>
      <attachid>217535</attachid>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2013-11-21 14:34:17 -0800</bug_when>
    <thetext>Comment on attachment 217535
Patch

Ok ok. The real solution here is to remove the whole ifdef and fix the 8bit run issues. That should really be done by people maintaining these platforms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>953397</commentid>
    <comment_count>7</comment_count>
      <attachid>217535</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-11-21 18:57:20 -0800</bug_when>
    <thetext>Comment on attachment 217535
Patch

Clearing flags on attachment: 217535

Committed r159666: &lt;http://trac.webkit.org/changeset/159666&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>953398</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-11-21 18:57:22 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>217535</attachid>
            <date>2013-11-21 01:51:37 -0800</date>
            <delta_ts>2013-11-21 18:57:19 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-124704-20131121105135.patch</filename>
            <type>text/plain</type>
            <size>1587</size>
            <attacher name="Laszlo Vidacs">lvidacs.u-szeged</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTU5NTc3CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggYWU5YmNiMmQ1YjEzZWZk
NzUzMDNmOWY4M2UxMGY2OGZhNTc0NmIxZS4uNjI4NjNkMzEzZDZlMjE1YzY1MGJkNjhjZTMxNWRh
YWExZGEzZjJiNSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDEzLTExLTIxICBMYXN6
bG8gVml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