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:
Stefan Weil 2016-11-13 22:32:13 +01:00
parent 7e90200d26
commit 4f45940050

View File

@ -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];