Skip to content

Commit dd5b967

Browse files
authored
Merge pull request #29971 from slavapestov/fix-reflection-warning
Reflection: Fix a compiler warning
2 parents 9284822 + 2ae0491 commit dd5b967

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)