Skip to content

Commit 2ae0491

Browse files
committed
Reflection: Fix a compiler warning
1 parent 90a2614 commit 2ae0491

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

stdlib/public/SwiftRemoteMirror/SwiftRemoteMirror.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,9 +437,6 @@ void swift_reflection_dumpInfoForTypeRef(SwiftReflectionContextRef ContextRef,
437437
fprintf(stdout, "Mangled name: %s%s\n", MANGLING_PREFIX_STR,
438438
MangledName.c_str());
439439
#ifndef NDEBUG
440-
auto *Reconstructed = reinterpret_cast<const TypeRef *>(
441-
swift_reflection_typeRefForMangledTypeName(
442-
ContextRef, MangledName.c_str(), MangledName.size()));
443440
assert(mangleNode(TR->getDemangling(Dem)) == MangledName &&
444441
"round-trip diff");
445442
#endif

0 commit comments

Comments
 (0)