aboutsummaryrefslogtreecommitdiff
path: root/source/Core/State.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/State.cpp')
-rw-r--r--source/Core/State.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/Core/State.cpp b/source/Core/State.cpp
index 80497dd77b87..4697ca4b5f17 100644
--- a/source/Core/State.cpp
+++ b/source/Core/State.cpp
@@ -12,7 +12,6 @@
// Other libraries and framework includes
// Project includes
#include "lldb/Core/State.h"
-#include <stdio.h>
using namespace lldb;
using namespace lldb_private;
@@ -44,10 +43,7 @@ const char *lldb_private::StateAsCString(StateType state) {
case eStateSuspended:
return "suspended";
}
- static char unknown_state_string[64];
- snprintf(unknown_state_string, sizeof(unknown_state_string), "StateType = %i",
- state);
- return unknown_state_string;
+ return "unknown";
}
const char *lldb_private::GetPermissionsAsCString(uint32_t permissions) {