diff options
Diffstat (limited to 'fastboot/util.cpp')
-rw-r--r-- | fastboot/util.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fastboot/util.cpp b/fastboot/util.cpp index 125182d73..7d15047ff 100644 --- a/fastboot/util.cpp +++ b/fastboot/util.cpp @@ -74,9 +74,3 @@ void Status(const std::string& message) { static constexpr char kStatusFormat[] = "%-50s "; fprintf(stderr, kStatusFormat, message.c_str()); } - -char* xstrdup(const char* s) { - char* result = strdup(s); - if (!result) die("out of memory"); - return result; -} |