Skip to content

Commit 1f6b321

Browse files
mstorsjotkrasnukha
authored andcommitted
Silence warnings about a potentially unused variable
If building with asserts disabled, this variable is unused.
1 parent 5a35e9f commit 1f6b321

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/MICmnLLDBDebugSessionInfo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ MIuint CMICmnLLDBDebugSessionInfo::GetOrCreateMiStoppointId(
201201
auto emplacementStatus =
202202
m_mapLldbStoppointIdToMiStoppointId.emplace(key, nNewId);
203203
assert(emplacementStatus.second);
204+
MIunused(emplacementStatus);
204205

205206
return nNewId;
206207
}

0 commit comments

Comments
 (0)