From 3a4a013dfe2c89fea68211f69e7b19509beb6317 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 24 Aug 2024 09:37:43 +0200 Subject: [PATCH] tprintf: Remove unused macro and update comment Signed-off-by: Stefan Weil --- src/ccutil/tprintf.cpp | 2 -- src/ccutil/tprintf.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ccutil/tprintf.cpp b/src/ccutil/tprintf.cpp index 3c5f7e2fca..5738baafef 100644 --- a/src/ccutil/tprintf.cpp +++ b/src/ccutil/tprintf.cpp @@ -31,8 +31,6 @@ namespace tesseract { -#define MAX_MSG_LEN 2048 - INT_VAR(log_level, INT_MAX, "Logging level"); static STRING_VAR(debug_file, "", "File to send tprintf output to"); diff --git a/src/ccutil/tprintf.h b/src/ccutil/tprintf.h index bb995cd408..489964cb69 100644 --- a/src/ccutil/tprintf.h +++ b/src/ccutil/tprintf.h @@ -19,7 +19,7 @@ #ifndef TESSERACT_CCUTIL_TPRINTF_H #define TESSERACT_CCUTIL_TPRINTF_H -#include "params.h" // for BOOL_VAR_H +#include "params.h" // for INT_VAR_H #include // for TESS_API namespace tesseract {