Skip to content

Commit

Permalink
Delete dead function.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 568858834
Change-Id: I276efa86259aa425c4b6dff27f037f488a58c9ae
  • Loading branch information
Abseil Team authored and copybara-github committed Sep 27, 2023
1 parent bab9544 commit 23de533
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions absl/debugging/internal/demangle_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ ABSL_NAMESPACE_BEGIN
namespace debugging_internal {
namespace {

// A wrapper function for Demangle() to make the unit test simple.
static const char *DemangleIt(const char * const mangled) {
static char demangled[4096];
if (Demangle(mangled, demangled, sizeof(demangled))) {
return demangled;
} else {
return mangled;
}
}

// Test corner cases of boundary conditions.
TEST(Demangle, CornerCases) {
char tmp[10];
Expand Down

0 comments on commit 23de533

Please sign in to comment.