From 7af58cf31a5058ac67111b72cc062612b8dec9ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 22 May 2017 07:42:54 +0200 Subject: [PATCH] show full error path in xml files --- lib/check.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/check.h b/lib/check.h index a51bb5480..fdb5b33de 100644 --- a/lib/check.h +++ b/lib/check.h @@ -169,7 +169,7 @@ protected: ErrorPath errorPath; if (!value) { errorPath.push_back(ErrorPathItem(errtok,bug)); - } else if (_settings->verbose || _settings->outputFormat == "clang") { + } else if (_settings->verbose || _settings->xml || _settings->outputFormat == "clang") { errorPath = value->errorPath; errorPath.push_back(ErrorPathItem(errtok,bug)); } else {