mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-28 05:33:59 +08:00
training: Fix compiler warnings (deprecated register keyword)
training/commontraining.cpp:824:3: warning: 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register] ... Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
7e90200d26
commit
4f45940050
@ -821,9 +821,9 @@ CLASS_STRUCT* SetUpForFloat2Int(const UNICHARSET& unicharset,
|
||||
void Normalize (
|
||||
float *Values)
|
||||
{
|
||||
register float Slope;
|
||||
register float Intercept;
|
||||
register float Normalizer;
|
||||
float Slope;
|
||||
float Intercept;
|
||||
float Normalizer;
|
||||
|
||||
Slope = tan (Values [2] * 2 * PI);
|
||||
Intercept = Values [1] - Slope * Values [0];
|
||||
|
Loading…
Reference in New Issue
Block a user