Skip to content

Commit

Permalink
training: Fix compiler warnings (deprecated register keyword)
Browse files Browse the repository at this point in the history
training/commontraining.cpp:824:3: warning:
 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register]
...

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Nov 14, 2016
1 parent 7e90200 commit 4f45940
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions training/commontraining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 4f45940

Please sign in to comment.