summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libartbase/base/utils.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libartbase/base/utils.h b/libartbase/base/utils.h
index 6e3b78e12c..ba61e1b0a3 100644
--- a/libartbase/base/utils.h
+++ b/libartbase/base/utils.h
@@ -239,7 +239,6 @@ template <typename Func, typename... Args>
static inline void CheckedCall(const Func& function, const char* what, Args... args) {
int rc = function(args...);
if (UNLIKELY(rc != 0)) {
- errno = rc;
PLOG(FATAL) << "Checked call failed for " << what;
}
}