File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ endif()
71
71
if (WIN32 )
72
72
if (MSVC )
73
73
add_definitions (-D_CRT_SECURE_NO_WARNINGS)
74
- add_definitions (-DNOMINMAX)
75
74
if (CLANG)
76
75
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Xclang -fopenmp /utf-8" )
77
76
else ()
77
+ add_definitions (-DNOMINMAX)
78
78
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /openmp /utf-8" )
79
79
endif ()
80
80
endif ()
Original file line number Diff line number Diff line change @@ -1988,7 +1988,7 @@ bool TessBaseAPI::Threshold(Pix** pix) {
1988
1988
pixDestroy (pix);
1989
1989
// Zero resolution messes up the algorithms, so make sure it is credible.
1990
1990
int user_dpi = 0 ;
1991
- bool a = GetIntVariable (" user_defined_dpi" , &user_dpi);
1991
+ GetIntVariable (" user_defined_dpi" , &user_dpi);
1992
1992
int y_res = thresholder_->GetScaledYResolution ();
1993
1993
if (user_dpi && (user_dpi < kMinCredibleResolution ||
1994
1994
user_dpi > kMaxCredibleResolution )) {
You can’t perform that action at this time.
0 commit comments