mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
Fix CID 1393240 (Missing return statement)
This also fixes a compiler warning: unittest/progress_test.cc:59:9: warning: no return statement in function returning non-void [-Wreturn-type] Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
cb6b1c118f
commit
c8dd4456e0
@ -55,7 +55,7 @@ class QuickTest : public testing::Test {
|
||||
return instance->classicProgress( progress );
|
||||
};
|
||||
monitor.cancel = []( void* ths, int words ) -> bool {
|
||||
((ClassicMockProgressSink*)ths)->cancel( words );
|
||||
return ((ClassicMockProgressSink*)ths)->cancel(words);
|
||||
};
|
||||
monitor.cancel_this = this;
|
||||
instance = this;
|
||||
|
Loading…
Reference in New Issue
Block a user