Skip to content

Commit 790b410

Browse files
committed
Remove unused API function TessBaseAPIDetectOS
It was not declared in capi.h, so external users could not use it anyway. Signed-off-by: Stefan Weil <[email protected]>
1 parent 4ca452d commit 790b410

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/api/capi.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -542,11 +542,6 @@ TESS_API void TESS_CALL TessBaseAPISetProbabilityInContextFunc(TessBaseAPI* hand
542542
handle->SetProbabilityInContextFunc(f);
543543
}
544544

545-
TESS_API BOOL TESS_CALL TessBaseAPIDetectOS(TessBaseAPI* handle, OSResults* results)
546-
{
547-
return FALSE; // Unsafe ABI, return FALSE always
548-
}
549-
550545
#ifndef DISABLED_LEGACY_ENGINE
551546

552547
TESS_API BOOL TESS_CALL TessBaseAPIDetectOrientationScript(TessBaseAPI* handle,

0 commit comments

Comments
 (0)