Skip to content

Commit 61807b2

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Remove unused function from executorch/backends/apple/coreml/runtime/inmemoryfs/inmemory_filesystem.cpp
Summary: `-Wunused-function` has identified an unused function. This diff removes it. In many cases these functions have existed for years in an unused state. Differential Revision: D59644712
1 parent f9efb05 commit 61807b2

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)