RESOLVED FIXED 114443
Build fix: use of uninitialized variable in ScrollingStateTree
https://bugs.webkit.org/show_bug.cgi?id=114443
Summary Build fix: use of uninitialized variable in ScrollingStateTree
Adenilson Cavalcanti Silva
Reported 2013-04-11 08:07:17 PDT
Current trunk will fail compilation in Linux/gcc/Qt5 thanks to this warning: : /home/adenilson/apps/webkit/Webkit/Source/WTF/wtf/HashTraits.h:76:57: error: ‘newNode’ may be used uninitialized in this function [-Werror=maybe-uninitialized] /home/adenilson/apps/webkit/Webkit/Source/WebCore/page/scrolling/ScrollingStateTree.cpp:65:25: note: ‘newNode’ was declared here cc1plus: all warnings being treated as errors make[3]: *** [.obj/release-shared/page/scrolling/ScrollingStateTree.o] Error 1
Attachments
Initialize the pointer before use (clears compilation warning). (1.83 KB, patch)
2013-04-11 08:11 PDT, Adenilson Cavalcanti Silva
no flags
Adenilson Cavalcanti Silva
Comment 1 2013-04-11 08:11:06 PDT
Created attachment 197588 [details] Initialize the pointer before use (clears compilation warning).
WebKit Commit Bot
Comment 2 2013-04-11 09:00:53 PDT
Comment on attachment 197588 [details] Initialize the pointer before use (clears compilation warning). Clearing flags on attachment: 197588 Committed r148206: <http://trac.webkit.org/changeset/148206>
WebKit Commit Bot
Comment 3 2013-04-11 09:00:56 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.