From 0ca8268d8192dfc961601cdb50a8ffd2b80413e5 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Mon, 6 Mar 2017 17:30:41 +0100 Subject: [PATCH] Clang: Initialize errorType Change-Id: I1a418c8cda02320c6157635755f03bdc14d28a9e Reviewed-by: Tim Jenssen --- .../dynamicastmatcherdiagnosticmessagecontainer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/clangbackendipc/dynamicastmatcherdiagnosticmessagecontainer.h b/src/libs/clangbackendipc/dynamicastmatcherdiagnosticmessagecontainer.h index 50935185627..bd7d2d3ee4f 100644 --- a/src/libs/clangbackendipc/dynamicastmatcherdiagnosticmessagecontainer.h +++ b/src/libs/clangbackendipc/dynamicastmatcherdiagnosticmessagecontainer.h @@ -101,7 +101,7 @@ public: private: V2::SourceRangeContainer sourceRange_; - ClangQueryDiagnosticErrorType errorType_; + ClangQueryDiagnosticErrorType errorType_ = ClangQueryDiagnosticErrorType::None; Utils::SmallStringVector arguments_; };