<?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>131728</bug_id>
          
          <creation_ts>2014-04-16 03:55:51 -0700</creation_ts>
          <short_desc>[WebKit] Cleanup the build from uninitialized variable in JavaScriptCore</short_desc>
          <delta_ts>2014-04-29 23:11:47 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>VERIFIED</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="Shivakumar J M">shiva.jm</reporter>
          <assigned_to name="Mark Hahnenberg">mhahnenberg</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>mhahnenberg</cc>
    
    <cc>shiva.jm</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1001114</commentid>
    <comment_count>0</comment_count>
    <who name="Shivakumar J M">shiva.jm</who>
    <bug_when>2014-04-16 03:55:51 -0700</bug_when>
    <thetext>Found uninitialized variable used in JavaScriptCore/runtime/JSObject.cpp during webkit-efl port build.

/home/shiva.jm/webkit-git/svngit/WebKit/Source/JavaScriptCore/runtime/JSObject.cpp:824:17: warning: ‘v’ is used uninitialized in this function [-Wuninitialized]
         JSValue v;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1001173</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hahnenberg">mhahnenberg</who>
    <bug_when>2014-04-16 10:04:39 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Found uninitialized variable used in JavaScriptCore/runtime/JSObject.cpp during webkit-efl port build.
&gt; 
&gt; /home/shiva.jm/webkit-git/svngit/WebKit/Source/JavaScriptCore/runtime/JSObject.cpp:824:17: warning: ‘v’ is used uninitialized in this function [-Wuninitialized]
&gt;          JSValue v;

This seems wrong. JSValue has a default constructor, so it&apos;s not uninitialized. Sounds like your compiler is confused.

One thing that might be worth fixing which would incidentally shut the compiler up is do add a default case with a RELEASE_ASSERT. If we don&apos;t hit a case in the switch statement then we have a debug ASSERT that will fire. Might as well add the release assert inside the branch that we&apos;ll never take.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1001181</commentid>
    <comment_count>2</comment_count>
      <attachid>229453</attachid>
    <who name="Mark Hahnenberg">mhahnenberg</who>
    <bug_when>2014-04-16 10:12:05 -0700</bug_when>
    <thetext>Created attachment 229453
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1001233</commentid>
    <comment_count>3</comment_count>
      <attachid>229453</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-04-16 11:10:25 -0700</bug_when>
    <thetext>Comment on attachment 229453
Patch

Clearing flags on attachment: 229453

Committed r167364: &lt;http://trac.webkit.org/changeset/167364&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1001234</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-04-16 11:10:27 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1005296</commentid>
    <comment_count>5</comment_count>
    <who name="Shivakumar J M">shiva.jm</who>
    <bug_when>2014-04-29 23:11:47 -0700</bug_when>
    <thetext>Bug is fixed tested in version 167979.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>229453</attachid>
            <date>2014-04-16 10:12:05 -0700</date>
            <delta_ts>2014-04-16 11:10:24 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-131728-20140416101141.patch</filename>
            <type>text/plain</type>
            <size>1394</size>
            <attacher name="Mark Hahnenberg">mhahnenberg</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMTY3MzQ5KQorKysgU291cmNl
L0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBA
CisyMDE0LTA0LTE2ICBNYXJrIEhhaG5lbmJlcmcgIDxtaGFobmVuYmVyZ0BhcHBsZS5jb20+CisK
KyAgICAgICAgW1dlYktpdF0gQ2xlYW51cCB0aGUgYnVpbGQgZnJvbSB1bmluaXRpYWxpemVkIHZh
cmlhYmxlIGluIEphdmFTY3JpcHRDb3JlCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3Jn
L3Nob3dfYnVnLmNnaT9pZD0xMzE3MjgKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9P
UFMhKS4KKworICAgICAgICAqIHJ1bnRpbWUvSlNPYmplY3QuY3BwOgorICAgICAgICAoSlNDOjpK
U09iamVjdDo6Z2VuZXJpY0NvbnZlcnREb3VibGVUb0NvbnRpZ3VvdXMpOiBBZGQgYSBSRUxFQVNF
X0FTU0VSVCBvbiB0aGUgCisgICAgICAgIHBhdGggd2UgZXhwZWN0IHRvIG5ldmVyIHRha2UuIEFs
c28gc2h1dCB1cCBjb25mdXNlZCBjb21waWxlcnMgYWJvdXQgdW5pbml0aWFsaXplZCB0aGluZ3Mu
CisKIDIwMTQtMDQtMTYgIEdhYm9yIFJhcGNzYW55aSAgPHJnYWJvckB3ZWJraXQub3JnPgogCiAg
ICAgICAgIFVucmV2aWV3ZWQsIEFSTTY0IGJ1aWxkZml4IGFmdGVyIHIxNjczMzYuCkluZGV4OiBT
b3VyY2UvSmF2YVNjcmlwdENvcmUvcnVudGltZS9KU09iamVjdC5jcHAKPT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0g
U291cmNlL0phdmFTY3JpcHRDb3JlL3J1bnRpbWUvSlNPYmplY3QuY3BwCShyZXZpc2lvbiAxNjcz
MjgpCisrKyBTb3VyY2UvSmF2YVNjcmlwdENvcmUvcnVudGltZS9KU09iamVjdC5jcHAJKHdvcmtp
bmcgY29weSkKQEAgLTgyOSw2ICs4MjksMTAgQEAgQ29udGlndW91c0pTVmFsdWVzIEpTT2JqZWN0
OjpnZW5lcmljQ29udgogICAgICAgICBjYXNlIFJhZ2VDb252ZXJ0RG91YmxlVG9WYWx1ZToKICAg
ICAgICAgICAgIHYgPSBqc051bWJlcih2YWx1ZSk7CiAgICAgICAgICAgICBicmVhazsKKyAgICAg
ICAgZGVmYXVsdDoKKyAgICAgICAgICAgIHYgPSBKU1ZhbHVlKCk7CisgICAgICAgICAgICBSRUxF
QVNFX0FTU0VSVF9OT1RfUkVBQ0hFRCgpOworICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgIH0K
ICAgICAgICAgQVNTRVJUKHYuaXNOdW1iZXIoKSk7CiAgICAgICAgIGN1cnJlbnRBc1ZhbHVlLT5z
ZXRXaXRob3V0V3JpdGVCYXJyaWVyKHYpOwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>