From bb9d6693fd6acc9c58e39eae557ea5285fa1b4fa Mon Sep 17 00:00:00 2001 From: Tiago Lopes Date: Fri, 21 Mar 2014 15:18:47 -0400 Subject: [PATCH] Return nil instead of a NO to fix error on latest Xcode --- Classes/Tesseract.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Tesseract.mm b/Classes/Tesseract.mm index d47b7d2..9c388f8 100644 --- a/Classes/Tesseract.mm +++ b/Classes/Tesseract.mm @@ -83,7 +83,7 @@ - (id)initWithDataPath:(NSString *)dataPath BOOL success = [self initEngine]; if (!success) { - return NO; + return nil; } } return self;