<?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>98610</bug_id>
          
          <creation_ts>2012-10-06 23:51:38 -0700</creation_ts>
          <short_desc>[EFL][WK2] Fix unused parameter compile warning.</short_desc>
          <delta_ts>2012-10-07 22:20:36 -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>WebKit EFL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</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="Kangil Han">kangil.han</reporter>
          <assigned_to name="Kangil Han">kangil.han</assigned_to>
          <cc>cdumez</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>haraken</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>rakuco</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>736335</commentid>
    <comment_count>0</comment_count>
    <who name="Kangil Han">kangil.han</who>
    <bug_when>2012-10-06 23:51:38 -0700</bug_when>
    <thetext>Fixed unused parameter compile warning by removing initiatingPageRef parameter name.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736336</commentid>
    <comment_count>1</comment_count>
      <attachid>167470</attachid>
    <who name="Kangil Han">kangil.han</who>
    <bug_when>2012-10-06 23:52:55 -0700</bug_when>
    <thetext>Created attachment 167470
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736468</commentid>
    <comment_count>2</comment_count>
      <attachid>167470</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2012-10-07 20:06:48 -0700</bug_when>
    <thetext>Comment on attachment 167470
patch

r=me.

Should we enable error on warning to find these earlier ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736476</commentid>
    <comment_count>3</comment_count>
      <attachid>167470</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-07 20:40:46 -0700</bug_when>
    <thetext>Comment on attachment 167470
patch

Clearing flags on attachment: 167470

Committed r130614: &lt;http://trac.webkit.org/changeset/130614&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736477</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-07 20:40:50 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736495</commentid>
    <comment_count>5</comment_count>
    <who name="Kentaro Hara">haraken</who>
    <bug_when>2012-10-07 21:46:54 -0700</bug_when>
    <thetext>gyuyoung: BTW, what was the conclusion of the webkit-dev@ discussion about how to handle unused parameters?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736496</commentid>
    <comment_count>6</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-10-07 21:52:28 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; gyuyoung: BTW, what was the conclusion of the webkit-dev@ discussion about how to handle unused parameters?

1. Omit argument name if its purpose is clear without name
2. Comment the argument name otherwise
3. Use UNUSED_PARAM() macro in the #else case if the argument is used only in the #ifdef case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736497</commentid>
    <comment_count>7</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2012-10-07 21:54:55 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; gyuyoung: BTW, what was the conclusion of the webkit-dev@ discussion about how to handle unused parameters?

Darin&apos;s suggestion was adopted. 

http://lists.webkit.org/pipermail/webkit-dev/2012-October/022369.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736498</commentid>
    <comment_count>8</comment_count>
    <who name="Kentaro Hara">haraken</who>
    <bug_when>2012-10-07 21:55:29 -0700</bug_when>
    <thetext>Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736499</commentid>
    <comment_count>9</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-10-07 21:56:12 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; (In reply to comment #5)
&gt; &gt; gyuyoung: BTW, what was the conclusion of the webkit-dev@ discussion about how to handle unused parameters?
&gt; 
&gt; Darin&apos;s suggestion was adopted. 
&gt; 
&gt; http://lists.webkit.org/pipermail/webkit-dev/2012-October/022369.html

BTW, it does not seem that the coding style was updated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736501</commentid>
    <comment_count>10</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2012-10-07 22:06:22 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; (In reply to comment #7)
&gt; &gt; (In reply to comment #5)
&gt; &gt; &gt; gyuyoung: BTW, what was the conclusion of the webkit-dev@ discussion about how to handle unused parameters?
&gt; &gt; 
&gt; &gt; Darin&apos;s suggestion was adopted. 
&gt; &gt; 
&gt; &gt; http://lists.webkit.org/pipermail/webkit-dev/2012-October/022369.html
&gt; 
&gt; BTW, it does not seem that the coding style was updated.

Though Ryosuke asked this if this coding style needs to be added, there is no reply about it. It would be good if someone adds this to coding style guide document. But, the mailing thread is enough for me now.

http://lists.webkit.org/pipermail/webkit-dev/2012-October/022375.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736503</commentid>
    <comment_count>11</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2012-10-07 22:08:51 -0700</bug_when>
    <thetext>Kentaro, do you think this coding style should be added to the webkit style guide ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736505</commentid>
    <comment_count>12</comment_count>
    <who name="Kentaro Hara">haraken</who>
    <bug_when>2012-10-07 22:15:25 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; Kentaro, do you think this coding style should be added to the webkit style guide ?

As far as I understood the discussion, people have reached a consensus on the conclusion. So let&apos;s add it to the coding style guide, and just reply to the thread saying &quot;I added it&quot;. If someone replied &quot;Don&apos;t add it&quot;, then let&apos;s continue the discussion:)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736508</commentid>
    <comment_count>13</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2012-10-07 22:20:36 -0700</bug_when>
    <thetext>(In reply to comment #12)
&gt; (In reply to comment #11)
&gt; &gt; Kentaro, do you think this coding style should be added to the webkit style guide ?
&gt; 
&gt; As far as I understood the discussion, people have reached a consensus on the conclusion. So let&apos;s add it to the coding style guide, and just reply to the thread saying &quot;I added it&quot;. If someone replied &quot;Don&apos;t add it&quot;, then let&apos;s continue the discussion:)

Do you know how to modify it ? It looks I don&apos;t have a permission to modify it. Or, Ryousuke can add this.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>167470</attachid>
            <date>2012-10-06 23:52:55 -0700</date>
            <delta_ts>2012-10-07 20:40:46 -0700</delta_ts>
            <desc>patch</desc>
            <filename>fix_unused_parameter_build_warning_1.txt</filename>
            <type>text/plain</type>
            <size>1781</size>
            <attacher name="Kangil Han">kangil.han</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZUxvZwppbmRleCBiYWU1M2YxLi5iMWQwZmQ5IDEwMDY0NAotLS0gYS9Tb3Vy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