Skip to content

Commit

Permalink
Use NDEBUG macro instead of DEBUG.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed May 8, 2017
1 parent 2ea946d commit 0afd593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tesseractmain.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 0afd593

Please sign in to comment.