summaryrefslogtreecommitdiffstats
path: root/webkit/glue/window_open_disposition.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-16 06:27:38 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-16 06:27:38 +0000
commit3b846396a90174835320be2ff50afe8dd4e31590 (patch)
tree78d7d4343f9e80d619cad10e8494be560a89daee /webkit/glue/window_open_disposition.cc
parentcf13bb696f6a50b06930ed8fabb0984cd6af7be9 (diff)
downloadchromium_src-3b846396a90174835320be2ff50afe8dd4e31590.zip
chromium_src-3b846396a90174835320be2ff50afe8dd4e31590.tar.gz
chromium_src-3b846396a90174835320be2ff50afe8dd4e31590.tar.bz2
Workaround bogus GCC warning
I had a single parameter IPC message handler, which took an enumeration parameter. For some reason, GCC thought it was possible for the enum value to be used uninitialized: cc1plus: warnings being treated as errors /b/slave/sub-rel-linux/build/src/chrome/common/ipc_message_utils.h: In member function 'virtual void RenderWidget::OnMessageReceived(const IPC::Message&)': /b/slave/sub-rel-linux/build/src/chrome/common/ipc_message_utils.h:1244: warning: 'p.Tuple1<WebKit::WebTextDirection>::a' may be used uninitialized in this function /b/slave/sub-rel-linux/build/src/chrome/common/ipc_message_utils.h:1244: note: 'p.Tuple1<WebKit::WebTextDirection>::a' was declared here scons: *** [/b/slave/sub-rel-linux/build/src/sconsbuild/Release/obj/chrome/renderer/render_widget.o] Error 1 I am able to avoid this warning by adding an explicit branch. BUG=none TEST=none TBR=mpcomplete Review URL: http://codereview.chromium.org/155624 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20857 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/window_open_disposition.cc')
0 files changed, 0 insertions, 0 deletions