Commit 3f361ee0 authored by David Schulz's avatar David Schulz

CDB: Remove unused variable.

Change-Id: I235b3d4c884f2f0c95eddfd5d6732f0ff306f0ed
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 2a4b7fc8
......@@ -776,7 +776,6 @@ void SymbolGroupNode::parseParameters(VectorIndexType index,
const SymbolGroup::SymbolParameterVector &vec)
{
static char buf[BufSize];
ULONG obtainedSize;
const bool isTopLevel = index == DEBUG_ANY_ID;
if (isTopLevel) {
......@@ -798,7 +797,7 @@ void SymbolGroupNode::parseParameters(VectorIndexType index,
for (VectorIndexType pos = startIndex - parameterOffset; pos < size ; ++pos) {
if (vec.at(pos).ParentSymbol == index) {
const VectorIndexType symbolGroupIndex = pos + parameterOffset;
if (FAILED(m_symbolGroup->debugSymbolGroup()->GetSymbolName(ULONG(symbolGroupIndex), buf, BufSize, &obtainedSize)))
if (FAILED(m_symbolGroup->debugSymbolGroup()->GetSymbolName(ULONG(symbolGroupIndex), buf, BufSize, NULL)))
buf[0] = '\0';
names.push_back(std::string(buf));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment