summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:57 +0900
commit74f3c1de12a68cb4533910a4a6e3579e5a657ddb (patch)
treef29f5f4cda07c345f94bdf3a089777ec67c5c4c2
parent0439ae03f4ed5c0231a168bc7976b67c3dd576e8 (diff)
downloadtde-style-qtcurve-74f3c1de12a68cb4533910a4a6e3579e5a657ddb.tar.gz
tde-style-qtcurve-74f3c1de12a68cb4533910a4a6e3579e5a657ddb.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--common/common.h2
-rw-r--r--config/qtcurveconfig.cpp8
-rw-r--r--style/qtcurve.cpp8
3 files changed, 9 insertions, 9 deletions
diff --git a/common/common.h b/common/common.h
index 88dfb40..34d8345 100644
--- a/common/common.h
+++ b/common/common.h
@@ -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 ) );
}
diff --git a/config/qtcurveconfig.cpp b/config/qtcurveconfig.cpp
index 64ffcae..68e7c7a 100644
--- a/config/qtcurveconfig.cpp
+++ b/config/qtcurveconfig.cpp
@@ -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),
diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp
index aeb1dad..5d35d24 100644
--- a/style/qtcurve.cpp
+++ b/style/qtcurve.cpp
@@ -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),