mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 15:03:45 +08:00
show only error messages from Leptonica
This commit is contained in:
parent
5c2e557435
commit
159e34a81d
@ -402,7 +402,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
#if !defined(DEBUG)
|
||||
// Disable debugging and informational messages from Leptonica.
|
||||
setMsgSeverity(L_SEVERITY_WARNING);
|
||||
setMsgSeverity(L_SEVERITY_ERROR);
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_TIFFIO_H) && defined(_WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user