diff --git a/src/plugins/valgrind/callgrind/callgrindparser.cpp b/src/plugins/valgrind/callgrind/callgrindparser.cpp index ae3b9b4d81c..17dc9b2819a 100644 --- a/src/plugins/valgrind/callgrind/callgrindparser.cpp +++ b/src/plugins/valgrind/callgrind/callgrindparser.cpp @@ -455,8 +455,8 @@ void Parser::Private::parseCostItem(const char *begin, const char *end) bool ok; const char *current = begin; - CostItem *costItem = new CostItem(data); QTC_ASSERT(currentDifferingFile == -1 || currentDifferingFile != currentFunction->fileId(), return); + CostItem *costItem = new CostItem(data); costItem->setDifferingFile(currentDifferingFile); FunctionCall *call = 0; if (isParsingFunctionCall) {