Use NDEBUG macro instead of DEBUG.

This commit is contained in:
Egor Pugin 2017-05-08 13:01:22 +03:00 committed by GitHub
parent 2ea946d11c
commit 0afd5939b1

View File

@ -403,7 +403,7 @@ int main(int argc, char** argv) {
static GenericVector<STRING> vars_vec;
static GenericVector<STRING> vars_values;
#if !defined(DEBUG)
#ifdef NDEBUG
// Disable debugging and informational messages from Leptonica.
setMsgSeverity(L_SEVERITY_ERROR);
#endif