<?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>43193</bug_id>
          
          <creation_ts>2010-07-29 09:01:12 -0700</creation_ts>
          <short_desc>Initialize all members of NPClass struct</short_desc>
          <delta_ts>2010-07-29 09:38:31 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>
          
          <blocked>43191</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>257703</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-07-29 09:01:12 -0700</bug_when>
    <thetext>We should initialize all members of NPClass struct to avoid gcc warnings.

Warnings on Qt bots:
/home/webkitbuildbot/slaves/release32bit/buildslave/qt-linux-release/build/WebKitTools/DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:119: warning: missing initializer for member ‘NPClass::removeProperty’
/home/webkitbuildbot/slaves/release32bit/buildslave/qt-linux-release/build/WebKitTools/DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:119: warning: missing initializer for member ‘NPClass::enumerate’
/home/webkitbuildbot/slaves/release32bit/buildslave/qt-linux-release/build/WebKitTools/DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:119: warning: missing initializer for member ‘NPClass::construct’</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257706</commentid>
    <comment_count>1</comment_count>
      <attachid>62953</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-07-29 09:05:14 -0700</bug_when>
    <thetext>Created attachment 62953
proposed patch

Members of &quot;static NPClass pluginClass&quot; are initialized with zeros by crt0.
We can do it explicitly to avoid gcc warnings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257734</commentid>
    <comment_count>2</comment_count>
      <attachid>62953</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-07-29 09:36:43 -0700</bug_when>
    <thetext>Comment on attachment 62953
proposed patch

Clearing flags on attachment: 62953

Committed r64285: &lt;http://trac.webkit.org/changeset/64285&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257737</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-07-29 09:38:31 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>62953</attachid>
            <date>2010-07-29 09:05:14 -0700</date>
            <delta_ts>2010-07-29 09:36:43 -0700</delta_ts>
            <desc>proposed patch</desc>
            <filename>2.patch</filename>
            <type>text/plain</type>
            <size>1032</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">SW5kZXg6IER1bXBSZW5kZXJUcmVlL1Rlc3ROZXRzY2FwZVBsdWdJbi9QbHVnaW5PYmplY3QuY3Bw
Cj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT0KLS0tIER1bXBSZW5kZXJUcmVlL1Rlc3ROZXRzY2FwZVBsdWd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