From 2a7867fa6bbc2a75fa4f5d8d23a173f8e5065f4d Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 23 Jul 2018 17:14:34 -0700 Subject: ART: Fix CheckedCall We use it for POSIX calls, not pthread-style calls. Bug: 111766751 Test: m test-art-host Change-Id: I7f8ecd70ef89ee121cb69a73c2d8847417082ef6 --- libartbase/base/utils.h | 1 - 1 file changed, 1 deletion(-) (limited to 'libartbase/base/utils.h') 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 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; } } -- cgit v1.2.3-59-g8ed1b