diff options
| author | Tobias Hunger <tobias.hunger@nokia.com> | 2012-06-16 21:02:26 (GMT) |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-03 06:05:21 (GMT) |
| commit | 0e595ad22db04141bfbd6093824cdcc775fd371d (patch) | |
| tree | 312a757ebe50ed08e45b0186fc6ef7c6256b3132 /doc/src/snippets/code/doc_src_activeqt-dumpcpp.cpp | |
| parent | 2da55509d4344ed56ad8243b496398779fc3c98a (diff) | |
| download | Qt-0e595ad22db04141bfbd6093824cdcc775fd371d.zip Qt-0e595ad22db04141bfbd6093824cdcc775fd371d.tar.gz Qt-0e595ad22db04141bfbd6093824cdcc775fd371d.tar.bz2 | |
Fix access to uninitialized pointer
The C++ standard says in 9.4..2 that the object expression is evaluated,
so any compliant compiler may access d. So this syntax is a bug in this
place.
This is a backport of commit
88cf9402e336fddeb673c92f3c14da47a9f8450b from qtbase.
Change-Id: I02a9a1b73f7c18e8342aafeae412759f78086fa6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'doc/src/snippets/code/doc_src_activeqt-dumpcpp.cpp')
0 files changed, 0 insertions, 0 deletions
