From 6d4472d6b4a868cdf4cc3485dddff122d958d1a2 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Tue, 18 Jul 2017 15:46:55 +0200 Subject: [PATCH] Valgrind: Init members of CallgrindController Change-Id: Ic35575858391f98c84ee08cf6287c379a7e866da Reviewed-by: hjk --- src/plugins/valgrind/callgrind/callgrindcontroller.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/valgrind/callgrind/callgrindcontroller.h b/src/plugins/valgrind/callgrind/callgrindcontroller.h index 50e4490adf8..3f5d321d204 100644 --- a/src/plugins/valgrind/callgrind/callgrindcontroller.h +++ b/src/plugins/valgrind/callgrind/callgrindcontroller.h @@ -82,7 +82,7 @@ private: void controllerProcessError(QProcess::ProcessError); void controllerProcessClosed(bool success); - ProjectExplorer::ApplicationLauncher *m_controllerProcess; + ProjectExplorer::ApplicationLauncher *m_controllerProcess = nullptr; ProjectExplorer::StandardRunnable m_valgrindRunnable; qint64 m_pid = 0; @@ -93,7 +93,7 @@ private: QString m_tempDataFile; QSsh::SshRemoteProcess::Ptr m_findRemoteFile; QSsh::SftpChannel::Ptr m_sftp; - QSsh::SftpJobId m_downloadJob; + QSsh::SftpJobId m_downloadJob = 0; QByteArray m_remoteFile; };