Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: ui/base/win/events_win.cc

Issue 9006028: Coverity fixes for uninitialized vars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing braces Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_var_deprecated_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/win/events_win.cc
diff --git a/ui/base/win/events_win.cc b/ui/base/win/events_win.cc
index 924c82e495829ccc22fb81f70842a767c9bbb858..c6657f47236809730fc54ed47ec92be6b631e8ee 100644
--- a/ui/base/win/events_win.cc
+++ b/ui/base/win/events_win.cc
@@ -265,10 +265,8 @@ void UpdateDeviceList() {
}
base::NativeEvent CreateNoopEvent() {
- MSG event;
+ MSG event = { NULL };
event.message = WM_USER;
- event.wParam = 0;
- event.lParam = 0;
return event;
}
« no previous file with comments | « ppapi/proxy/ppb_var_deprecated_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698