Removed explicit usage of the 'register' keyword.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 74f3c1de12)
r14.0.x
Michele Calgaro 5 years ago
parent 85364a842a
commit a8d88c3ebb
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1272,7 +1272,7 @@ static inline double mix(double a, double b, double k)
static inline double wrap(double a, double d)
{
register double r = fmod( a, d );
double r = fmod( a, d );
return ( r < 0.0 ? d + r : ( r > 0.0 ? r : 0.0 ) );
}

@ -85,10 +85,10 @@ static void drawGradient(const TQColor &top, const TQColor &bot, bool increase,
r.coords(&rx, &ry, &rx2, &ry2);
register int rl(rTop << 16);
register int gl(gTop << 16);
register int bl(bTop << 16);
register int i;
int rl(rTop << 16);
int gl(gTop << 16);
int bl(bTop << 16);
int i;
int dr(((1<<16) * (bot.red() - rTop)) / size),
dg(((1<<16) * (bot.green() - gTop)) / size),

@ -7446,10 +7446,10 @@ void QtCurveStyle::drawGradient(const TQColor &top, const TQColor &bot,
r.coords(&rx, &ry, &rx2, &ry2);
register int rl(rTop << 16);
register int gl(gTop << 16);
register int bl(bTop << 16);
register int i;
int rl(rTop << 16);
int gl(gTop << 16);
int bl(bTop << 16);
int i;
int dr(((1<<16) * (bot.red() - rTop)) / size),
dg(((1<<16) * (bot.green() - gTop)) / size),

Loading…
Cancel
Save