Please valgrind by not accessing uninitialized memory

Fix access or uninitialized memory. It is safe in this case, but causes
valgrind's memcheck to complain unnecessarily.

Change-Id: I01ad09d282b07f7099ad6bed85f4327b3c7c677f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Allan Sandfeld Jensen 2015-03-13 18:12:05 +01:00
parent 12e88e486b
commit 32d1803d60
1 changed files with 3 additions and 2 deletions

View File

@ -61,9 +61,10 @@ class QSslKeyPrivate
{
public:
inline QSslKeyPrivate()
: opaque(0)
: algorithm(QSsl::Opaque)
, opaque(0)
{
clear();
clear(false);
}
inline ~QSslKeyPrivate()