Skip to content

Commit d8c4afa

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Remove unused function from executorch/backends/apple/coreml/runtime/inmemoryfs/inmemory_filesystem.cpp (#4240)
Summary: Pull Request resolved: #4240 `-Wunused-function` has identified an unused function. This diff removes it. In many cases these functions have existed for years in an unused state. Reviewed By: palmje Differential Revision: D59644712 fbshipit-source-id: 7dc416d17ba8acf7251e8c60cf6e2abe2cf571a4
1 parent 17ae009 commit d8c4afa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

backends/apple/coreml/runtime/inmemoryfs/inmemory_filesystem.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,6 @@ InMemoryFileSystem::InMemoryNode* get_node(InMemoryFileSystem::InMemoryNode* nod
115115
return node;
116116
}
117117

118-
std::string toString(time_t time) {
119-
constexpr auto format = "%Y-%m-%dT%TZ";
120-
std::stringstream stream;
121-
stream << std::put_time(gmtime(&time), format);
122-
return stream.str();
123-
}
124118

125119
time_t toTime(const std::string& str) {
126120
constexpr auto format = "%Y-%m-%dT%TZ";

0 commit comments

Comments
 (0)