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

Unified Diff: components/policy/core/common/policy_loader_win.cc

Issue 1216413002: Fix remaining warnings for -Wmissing-braces and enable on win clang. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moo Created 5 years, 5 months 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
Index: components/policy/core/common/policy_loader_win.cc
diff --git a/components/policy/core/common/policy_loader_win.cc b/components/policy/core/common/policy_loader_win.cc
index f199a20d6593d0dc2f57a688c1ab072203b0eae7..d0162dd060ab2636df28b66fb4568f59260b4532 100644
--- a/components/policy/core/common/policy_loader_win.cc
+++ b/components/policy/core/common/policy_loader_win.cc
@@ -84,8 +84,11 @@ const char* kInsecurePolicies[] = {
key::kRestoreOnStartupURLs
};
Nico 2015/07/08 02:45:38 Add "// TODO: Remove pragma once http://llvm.org/P
dcheng 2015/07/08 04:35:32 Done. I also had to go through some contortions t
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wmissing-braces"
// The GUID of the registry settings group policy extension.
GUID kRegistrySettingsCSEGUID = REGISTRY_EXTENSION_GUID;
+#pragma clang diagnostic pop
// The list of possible errors that can occur while collecting information about
// the current enterprise environment.

Powered by Google App Engine
This is Rietveld 408576698