Skip to content

Commit 8d86f7b

Browse files
committed
Removed commented code
1 parent b0290d6 commit 8d86f7b

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

tensorflow_lite_support/c/common_utils.cc

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -86,25 +86,6 @@ void CreateTfLiteSupportErrorWithStatus(const absl::Status& status,
8686
}
8787
}
8888

89-
// *error = new TfLiteSupportError;
90-
// // TfLiteErrorCode has a one to one mapping with TfLiteSupportStatus
91-
// starting
92-
// // from the value 1(kError) and hence will be correctly initialized if
93-
// // directly cast from the integer code derived from TfLiteSupportStatus
94-
// stored
95-
// // in payload. TfLiteErrorCode omits kOk = 0 of TfLiteSupportStatus.
96-
// //
97-
// (*error)->code = static_cast<TfLiteSupportErrorCode>(error_code);
98-
// // Stores a string including absl status code and message(if non empty) as
99-
// the
100-
// // error message See
101-
// //
102-
// https://github.com/abseil/abseil-cpp/blob/master/absl/status/status.h#L514
103-
// // for explanation. absl::Status::message() can also be used but not always
104-
// // guaranteed to be non empty.
105-
// (*error)->message = strdup(
106-
// status.ToString(absl::StatusToStringMode::kWithNoExtraData).c_str());
107-
10889
// Creates the TfLiteSupportError with the appropriate error
10990
// TfLiteSupportErrorCode and message. TfLiteErrorCode has a one to one
11091
// mapping with TfLiteSupportStatus starting from the value 1(kError) and

0 commit comments

Comments
 (0)