summaryrefslogtreecommitdiff
path: root/absl/debugging
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2023-09-27 08:31:27 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-09-27 08:32:21 -0700
commit23de5336a740cd770b2f4e7e446daaf83b9444e9 (patch)
treed7feea40d94c6f8bc3964260e47a155b526cde03 /absl/debugging
parentbab9544a35615c1cdcf4271c6c52c9f1559c7d3c (diff)
Delete dead function.
PiperOrigin-RevId: 568858834 Change-Id: I276efa86259aa425c4b6dff27f037f488a58c9ae
Diffstat (limited to 'absl/debugging')
-rw-r--r--absl/debugging/internal/demangle_test.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/absl/debugging/internal/demangle_test.cc b/absl/debugging/internal/demangle_test.cc
index faec72b5..71bc237a 100644
--- a/absl/debugging/internal/demangle_test.cc
+++ b/absl/debugging/internal/demangle_test.cc
@@ -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];