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

Unified Diff: content/plugin/plugin_main_linux.cc

Issue 9006028: Coverity fixes for uninitialized vars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Coverity UNINIT messages 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 | « no previous file | content/public/common/show_desktop_notification_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_main_linux.cc
diff --git a/content/plugin/plugin_main_linux.cc b/content/plugin/plugin_main_linux.cc
index 6bb9da7dd84012349bdadbfc0c68df26c9bb2a4c..b973ce8d230ddedf3e818479f5d26f01b22ee09c 100644
--- a/content/plugin/plugin_main_linux.cc
+++ b/content/plugin/plugin_main_linux.cc
@@ -30,7 +30,7 @@ void SignalHandler(int signum, siginfo_t* info, void* void_context) {
// need to be careful to handle threads etc. properly.
struct sigaction sa;
- sa.sa_flags = 0;
+ memset(&sa, 0, sizeof(sa));
piman 2011/12/27 17:46:20 Do you think struct sigaction sa = {NULL}; would b
groby-ooo-7-16 2011/12/28 20:36:03 Done.
sigemptyset(&sa.sa_mask);
sa.sa_handler = SIG_DFL;
sigaction(signum, &sa, NULL);
« no previous file with comments | « no previous file | content/public/common/show_desktop_notification_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698