summaryrefslogtreecommitdiffstats
path: root/examples/qtconcurrent/runfunction/doc/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-01-23 13:29:12 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-29 01:47:01 +0100
commitedd2d9bd0a7f5dbe059aea0902d519b728acc01a (patch)
tree057b23be57996f15815f74e5a5c97f5143d25bd7 /examples/qtconcurrent/runfunction/doc/src
parent2a3d690a195607ee640d84aac762153c8096bf5b (diff)
Make the null pointer dereference a volatile one
This is to ensure that the compiler won't optimise it out of existence. Clang says it will do it: testProcessCrash/main.cpp:50:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] *(char*)0 = 0; ^~~~~~~~~ Change-Id: Iac7771046442f869e205e8789fffdd6443d58e67 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'examples/qtconcurrent/runfunction/doc/src')
0 files changed, 0 insertions, 0 deletions