-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ccstruct/ocrblock.cpp: Fix compiler warnings
Compiler warnings from clang: src/ccstruct/ocrblock.cpp:74:12: warning: use of old-style cast [-Wold-style-cast] src/ccstruct/ocrblock.cpp:74:21: warning: cast from 'const void *' to 'ROW **' drops const qualifier [-Wcast-qual] src/ccstruct/ocrblock.cpp:75:16: warning: cast from 'const void *' to 'ROW **' drops const qualifier [-Wcast-qual] src/ccstruct/ocrblock.cpp:75:7: warning: use of old-style cast [-Wold-style-cast] Make also the function decreasing_top_order a local function as it is only used locally and remove its global declarations (2 locations). Signed-off-by: Stefan Weil <[email protected]>
- Loading branch information
Showing
3 changed files
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters