From 643268f325e2bda64248df24913f8b68c842c95a Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 8 Oct 2018 11:10:11 -0700 Subject: Move system/core/ off NO_ERROR. It causes trouble for Windows, and OK already exists. Bug: N/A Test: builds Change-Id: Ida22fd658b0ebb259c710ba39049b07c9e495d9c --- libutils/Tokenizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libutils/Tokenizer.cpp') diff --git a/libutils/Tokenizer.cpp b/libutils/Tokenizer.cpp index f73d6991f..98dd2fda5 100644 --- a/libutils/Tokenizer.cpp +++ b/libutils/Tokenizer.cpp @@ -48,7 +48,7 @@ Tokenizer::~Tokenizer() { status_t Tokenizer::open(const String8& filename, Tokenizer** outTokenizer) { *outTokenizer = nullptr; - int result = NO_ERROR; + int result = OK; int fd = ::open(filename.string(), O_RDONLY); if (fd < 0) { result = -errno; -- cgit v1.2.3