From a8d88c3ebb2570b1de36ca9392b180a628623be0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Jan 2020 20:17:57 +0900 Subject: Removed explicit usage of the 'register' keyword. Signed-off-by: Michele Calgaro (cherry picked from commit 74f3c1de12a68cb4533910a4a6e3579e5a657ddb) --- style/qtcurve.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'style/qtcurve.cpp') diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp index 9f06adb..24b1f19 100644 --- a/style/qtcurve.cpp +++ b/style/qtcurve.cpp @@ -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), -- cgit v1.2.1