Commit 3b17959e authored by thakis@chromium.org's avatar thakis@chromium.org

Fix clang warning / miscompile

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/6271005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72364 0039d316-1c4b-4281-b951-d872f2087c98
parent 9ddec1a8
...@@ -57,7 +57,7 @@ static bool DumpCallback(const char* dump_path, const char* minidump_id, ...@@ -57,7 +57,7 @@ static bool DumpCallback(const char* dump_path, const char* minidump_id,
static void DoSomethingWhichCrashes() { static void DoSomethingWhichCrashes() {
int local_var = 1; int local_var = 1;
*reinterpret_cast<char*>(NULL) = 1; *reinterpret_cast<volatile char*>(NULL) = 1;
} }
int main() { int main() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment