Bug 114443 - Build fix: use of uninitialized variable in ScrollingStateTree
Summary: Build fix: use of uninitialized variable in ScrollingStateTree
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-11 08:07 PDT by Adenilson Cavalcanti Silva
Modified: 2013-04-11 09:00 PDT (History)
6 users (show)

See Also:


Attachments
Initialize the pointer before use (clears compilation warning). (1.83 KB, patch)
2013-04-11 08:11 PDT, Adenilson Cavalcanti Silva
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adenilson Cavalcanti Silva 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
Comment 1 Adenilson Cavalcanti Silva 2013-04-11 08:11:06 PDT
Created attachment 197588 [details]
Initialize the pointer before use (clears compilation warning).
Comment 2 WebKit Commit Bot 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>
Comment 3 WebKit Commit Bot 2013-04-11 09:00:56 PDT
All reviewed patches have been landed.  Closing bug.