tesseract/ccutil
Stefan Weil 20b3ff8796 Fix some minor issues reported by Coverity Scan (#1321)
* Dereference pointer after NULL check (CID 1385638)

Move the statement which dereferences the pointer variable "current"
after the NULL check.

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* Dereference pointer after NULL check (CID 1385635)

Move the statement which dereferences the pointer variable "current"
after the NULL check.

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* Dereference pointer after NULL check (CID 1385634)

Move the statement which dereferences the pointer variable "current"
after the NULL check.

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* Fix CID 1164527 'Constant' variable guards dead code

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-02-18 15:22:59 +01:00
..
ambigs.cpp Changed the way unicharsets are handled to allow support for the ™ character. Can find the issue where it was requested. 2017-07-24 11:45:57 -07:00
ambigs.h Remove extra semicolons 2017-07-15 12:40:34 +02:00
basedir.cpp Fixes from pull of cleanups: clang tidied, reviewed, fixed new bugs, undeleted needed code. Probably breaks the build, due to some inclusion of changes in utf8/32 conversion 2017-07-14 09:30:14 -07:00
basedir.h Fixed relative-to-executable tessdata location, while allowing for addition of terminating / 2012-10-09 00:41:08 +00:00
bits16.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
bits16.h Remove extra semicolons after member function definitions 2016-12-04 14:54:52 +01:00
bitvector.cpp Fixed a lot of compiler/clang warnings 2014-01-25 02:28:51 +00:00
bitvector.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
ccutil.cpp Added missing license headers 2016-11-18 15:53:11 -08:00
ccutil.h ccutil: Remove unneeded include statement 2017-05-12 14:11:21 +02:00
clst.cpp Fix some minor issues reported by Coverity Scan (#1321) 2018-02-18 15:22:59 +01:00
clst.h Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
doubleptr.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
elst2.cpp Fix some minor issues reported by Coverity Scan (#1321) 2018-02-18 15:22:59 +01:00
elst2.h Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
elst.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
elst.h Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
errcode.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
errcode.h Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
fileerr.h top-skimming import from sf.net 2007-03-07 20:03:40 +00:00
genericheap.h Fix #define guards in header files 2016-12-04 15:43:03 +01:00
genericvector.h Improve robustness of function LoadDataFromFile (#1207) 2017-11-10 15:46:38 +01:00
globaloc.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
globaloc.h fix filenames in comments 2017-07-02 17:35:47 -04:00
helpers.h Fixes from pull of cleanups: clang tidied, reviewed, fixed new bugs, undeleted needed code. Probably breaks the build, due to some inclusion of changes in utf8/32 conversion 2017-07-14 09:30:14 -07:00
host.h Fixes from pull of cleanups: clang tidied, reviewed, fixed new bugs, undeleted needed code. Probably breaks the build, due to some inclusion of changes in utf8/32 conversion 2017-07-14 09:30:14 -07:00
indexmapbidi.cpp Remaining misc changes for 3.02 2012-02-02 03:14:43 +00:00
indexmapbidi.h Remaining misc changes for 3.02 2012-02-02 03:14:43 +00:00
kdpair.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
lsterr.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
mainblk.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
Makefile.am Autotools build: Remove the option 'USING_MULTIPLELIBS' 2017-09-11 15:03:53 +03:00
memry.cpp Fixes from pull of cleanups: clang tidied, reviewed, fixed new bugs, undeleted needed code. Probably breaks the build, due to some inclusion of changes in utf8/32 conversion 2017-07-14 09:30:14 -07:00
memry.h Fixes from pull of cleanups: clang tidied, reviewed, fixed new bugs, undeleted needed code. Probably breaks the build, due to some inclusion of changes in utf8/32 conversion 2017-07-14 09:30:14 -07:00
ndminx.h Harmless improvements from 3.00 going in to 2.04 2008-12-30 18:20:15 +00:00
nwmain.h remove unused code (Windows related) 2013-07-08 18:21:10 +00:00
object_cache.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
ocrclass.h Fix windows build. 2016-11-24 17:32:23 +03:00
params.cpp Fixes from pull of cleanups: clang tidied, reviewed, fixed new bugs, undeleted needed code. Probably breaks the build, due to some inclusion of changes in utf8/32 conversion 2017-07-14 09:30:14 -07:00
params.h Added extra Init that takes a memory buffer or a filereader function pointer to enable read of traineddata from memory or foreign file systems. Updated existing readers to use TFile API instead of FILE. This does not yet add big-endian capability to LSTM, but it is very easy from here. 2017-04-27 15:48:23 -07:00
platform.h Fixed build broken by previous commits that added use of string in low-level code 2017-07-14 10:33:55 -07:00
qrsequence.h 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process 2010-11-23 18:34:14 +00:00
scanutils.cpp More formatting fixes from clang tidy 2017-04-28 13:38:32 -07:00
scanutils.h Applied patch to refix issue 331 2014-04-23 23:12:53 +00:00
serialis.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
serialis.h Final part of endian improvement. Adds big-endian support to lstm and fixes issue 518 2017-05-03 16:09:44 -07:00
sorthelper.h Reviewed uses of reinterpret_cast 2017-05-11 01:58:40 +02:00
stderr.h top-skimming import from sf.net 2007-03-07 20:03:40 +00:00
strngs.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
strngs.h Fixes from pull of cleanups: clang tidied, reviewed, fixed new bugs, undeleted needed code. Probably breaks the build, due to some inclusion of changes in utf8/32 conversion 2017-07-14 09:30:14 -07:00
tesscallback.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
tessdatamanager.cpp Move LSTM unicharset and recoder to traineddata with version string part1. Backwards compatible - maybe. 2017-07-14 11:14:23 -07:00
tessdatamanager.h Move LSTM unicharset and recoder to traineddata with version string part1. Backwards compatible - maybe. 2017-07-14 11:14:23 -07:00
tprintf.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
tprintf.h Moved -v to training 2014-01-09 17:25:12 +00:00
unichar.cpp Added script-specific validation and normalization for virama-using scripts and updated normalization for others 2017-07-14 10:05:05 -07:00
unichar.h Fixed build broken by previous commits that added use of string in low-level code 2017-07-14 10:33:55 -07:00
unicharcompress.cpp Clang tidy changes from sync 2017-09-08 10:13:33 +01:00
unicharcompress.h Rewrote the recoder to use an encoding based on wubi instead of radical-stroke index, changed from normalized to unnormalized unichar representation 2017-07-25 09:40:44 -07:00
unicharmap.cpp Changed the way unicharsets are handled to allow support for the ™ character. Can find the issue where it was requested. 2017-07-24 11:45:57 -07:00
unicharmap.h Changed the way unicharsets are handled to allow support for the ™ character. Can find the issue where it was requested. 2017-07-24 11:45:57 -07:00
unicharset.cpp Rewrote unicharset_extractor to use the new string normalizer and read plain text as well as box files. 2017-09-08 11:49:57 +01:00
unicharset.h Add combine_lang_model to cmake and cppan builds. 2017-08-06 14:46:32 +03:00
unicity_table.h fix filenames in comments 2017-07-02 17:35:47 -04:00
unicodes.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
unicodes.h Replace reserved identifiers used in #define guards header files 2016-12-04 15:43:03 +01:00
universalambigs.cpp Misc fixes, mostly clang formatting, but some bug fixes in matrix, werd, and tesstrain_utils. Also updates unicharset to match traineddata files. 2015-07-09 14:28:20 -07:00
universalambigs.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
version.h Move LSTM unicharset and recoder to traineddata with version string part1. Backwards compatible - maybe. 2017-07-14 11:14:23 -07:00