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’
Created attachment 62953 [details] proposed patch Members of "static NPClass pluginClass" are initialized with zeros by crt0. We can do it explicitly to avoid gcc warnings.
Comment on attachment 62953 [details] proposed patch Clearing flags on attachment: 62953 Committed r64285: <http://trac.webkit.org/changeset/64285>
All reviewed patches have been landed. Closing bug.