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

Unified Diff: base/win/win_util.cc

Issue 1216903002: clang/win: Build without -Wno-null-dereference. (Closed) Base URL: ssh://sammc-z620-l.syd/usr/local/google/home/sammc/chrome/src@clang
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/win_util.cc
diff --git a/base/win/win_util.cc b/base/win/win_util.cc
index 003bd830812f1505107bf1a77e81de4447ee6a2b..72af88f1f21466d6aa34ba1905d233789276dcef 100644
--- a/base/win/win_util.cc
+++ b/base/win/win_util.cc
@@ -54,7 +54,7 @@ bool SetPropVariantValueForPropertyStore(
}
void __cdecl ForceCrashOnSigAbort(int) {
- *((int*)0) = 0x1337;
+ *((volatile int*)0) = 0x1337;
}
const wchar_t kWindows8OSKRegPath[] =
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698