WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
116699
[WK2][EFL][QT] Build break after
r150610
https://bugs.webkit.org/show_bug.cgi?id=116699
Summary
[WK2][EFL][QT] Build break after r150610
Ryuan Choi
Reported
2013-05-23 20:43:26 PDT
EFL and QT using -Werror=maybe-uninitialized got below error. /home/ryuan/workspace/project/webkit/efl-webkit/Source/WebKit2/UIProcess/WebPageProxy.cpp: In member function ‘void WebKit::WebPageProxy::findPlugin(const WTF::String&, uint32_t, const WTF::String&, const WTF::String&, const WTF::String&, bool, uint64_t&, WTF::String&, uint32_t&)’: /home/ryuan/workspace/project/webkit/efl-webkit/Source/WebKit2/UIProcess/WebPageProxy.cpp:1440:155: error: ‘pluginProcessSandboxPolicy’ may be used uninitialized in this function [-Werror=maybe-uninitialized] cc1plus: all warnings being treated as errors make[2]: *** [Source/WebKit2/CMakeFiles/WebKit2.dir/UIProcess/WebPageProxy.cpp.o] Error 1
Attachments
Patch
(1.16 KB, patch)
2013-05-23 20:45 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Patch
(1.40 KB, patch)
2013-05-23 21:25 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ryuan Choi
Comment 1
2013-05-23 20:45:38 PDT
Created
attachment 202758
[details]
Patch
Anders Carlsson
Comment 2
2013-05-23 21:20:08 PDT
Comment on
attachment 202758
[details]
Patch This fix (while OK) has the downside of making the compiler not warn if we ever add more cases. I think a better fix is to just initialize the variable.
Ryuan Choi
Comment 3
2013-05-23 21:25:24 PDT
Created
attachment 202762
[details]
Patch
Ryuan Choi
Comment 4
2013-05-23 21:29:16 PDT
(In reply to
comment #2
)
> (From update of
attachment 202758
[details]
) > This fix (while OK) has the downside of making the compiler not warn if we ever add more cases. I think a better fix is to just initialize the variable.
OK. I initialized the variable.
Csaba Osztrogonác
Comment 5
2013-05-23 22:11:38 PDT
Comment on
attachment 202762
[details]
Patch LGTM, I think it's safe if we use stricter policy if the variable is uninitialized. I'm not an owner, but I don't think if we should wait for an owner to get up for this trivial buildfix. So r=me. And feel free to find a better fix after you get up.
Csaba Osztrogonác
Comment 6
2013-05-23 22:14:36 PDT
Comment on
attachment 202762
[details]
Patch Clearing flags on attachment: 202762 Committed
r150624
: <
http://trac.webkit.org/changeset/150624
>
Csaba Osztrogonác
Comment 7
2013-05-23 22:14:42 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.
Top of Page
Format For Printing
XML
Clone This Bug