<?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>99541</bug_id>
          
          <creation_ts>2012-10-16 22:31:12 -0700</creation_ts>
          <short_desc>[mac] Fix build break - processPath should be initialized.</short_desc>
          <delta_ts>2012-10-17 22:13:56 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</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="Dongwoo Joshua Im (dwim)">dw.im</reporter>
          <assigned_to name="Dongwoo Joshua Im (dwim)">dw.im</assigned_to>
          <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>sam</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>743858</commentid>
    <comment_count>0</comment_count>
    <who name="Dongwoo Joshua Im (dwim)">dw.im</who>
    <bug_when>2012-10-16 22:31:12 -0700</bug_when>
    <thetext>There is build error because processPath isn&apos;t initialized.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>743860</commentid>
    <comment_count>1</comment_count>
      <attachid>169090</attachid>
    <who name="Dongwoo Joshua Im (dwim)">dw.im</who>
    <bug_when>2012-10-16 22:34:59 -0700</bug_when>
    <thetext>Created attachment 169090
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>743863</commentid>
    <comment_count>2</comment_count>
      <attachid>169090</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-10-16 22:36:27 -0700</bug_when>
    <thetext>Comment on attachment 169090
Patch

ok</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>743875</commentid>
    <comment_count>3</comment_count>
      <attachid>169090</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-16 22:56:57 -0700</bug_when>
    <thetext>Comment on attachment 169090
Patch

Clearing flags on attachment: 169090

Committed r131551: &lt;http://trac.webkit.org/changeset/131551&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>743876</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-16 22:57:01 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>744414</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-10-17 10:59:31 -0700</bug_when>
    <thetext>Which Mac build was broken? Unless I&apos;m missing something, this code was added a week ago in bug 98543, and Mac build was not failing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>744421</commentid>
    <comment_count>6</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2012-10-17 11:02:22 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Which Mac build was broken? Unless I&apos;m missing something, this code was added a week ago in bug 98543, and Mac build was not failing.

Indeed.  Also, there was actually nothing wrong with the code before that a modern compiler couldn&apos;t figure out, as it wasn&apos;t possible to make it through the switch statement without initializing.

Please include links to build breakage in cases like this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>744887</commentid>
    <comment_count>7</comment_count>
    <who name="Dongwoo Joshua Im (dwim)">dw.im</who>
    <bug_when>2012-10-17 18:25:14 -0700</bug_when>
    <thetext>When I tried on my macbook pro,build error comes out.

The reason was, the variable doesn&apos;t initialized,
and build warning is treated as build error.

If I meet build error next time, 
I will paste the error log as comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>744978</commentid>
    <comment_count>8</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2012-10-17 22:13:56 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; When I tried on my macbook pro,build error comes out.
&gt; 
&gt; The reason was, the variable doesn&apos;t initialized,
&gt; and build warning is treated as build error.
&gt; 
&gt; If I meet build error next time, 
&gt; I will paste the error log as comment.

As Alexey mentioned the Mac builds clearly didn&apos;t have this problem.  What is your tools environment like?

Note that the reason the variable is actually *not* uninitialized is that it was impossible to make it through the switch statement without initializing it, as all cases were handled.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>169090</attachid>
            <date>2012-10-16 22:34:59 -0700</date>
            <delta_ts>2012-10-16 22:56:57 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-99541-20121017143343.patch</filename>
            <type>text/plain</type>
            <size>1522</size>
            <attacher name="Dongwoo Joshua Im (dwim)">dw.im</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTMxNTQ2CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0Mi9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViS2l0Mi9DaGFuZ2VMb2cKaW5kZXggYmQ4ZjhjZGVmZjljNmIy
NWI3MWFmYTAxMGZlODY2ZWUxNjg0MmZjNi4uOTIzNTI5NGE0MTdmOTgwMzg5YmExNGE3ODU0ZWYw
MTBjZDdmNmI3MiAxMDA2NDQKLS0tIGEvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJLaXQyL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDEyLTEwLTE2ICBEb25n
d29vIEpvc2h1YSBJbSAgPGR3Lm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