Removed explicit usage of the 'register' keyword.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/4/head
Michele Calgaro 5 years ago
parent 0439ae03f4
commit 74f3c1de12
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),

@ -7442,10 +7442,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