Quieten warning about uninitialized use of d pointer
authorTobias Hunger <tobias.hunger@digia.com>
Tue, 23 Oct 2012 15:14:06 +0000 (17:14 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 24 Oct 2012 00:29:13 +0000 (02:29 +0200)
commit84d09214bc54b4a0cf9860aa27e78ae27bfd69f9
tree4e3ad63046d31cd6fd0503ea3ec40d054c2a167f
parente370306530eaceaffcbaeb459fae7189b5fd623e
Quieten warning about uninitialized use of d pointer

We had this issue in Qt 4 before: Clang considers the use of d uninitialized
in the initializer list for d. This might or might not be legal, the clang
devs are divided on that topic. Let's just use a more common form and ignore
the issue language lawyers.

Change-Id: I3324255963a6d0f4a9057fe0d1d9ae868d3efef7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/tools/qsharedpointer_impl.h