From 90e7e6e752d41755a16a9c90bd9e331949e3af0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 15 Apr 2024 17:04:29 +0200 Subject: [PATCH] Remove remaining 'register' instruction. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/SUSE2button.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SUSE2button.cpp b/src/SUSE2button.cpp index e06c8cf..2643467 100644 --- a/src/SUSE2button.cpp +++ b/src/SUSE2button.cpp @@ -605,15 +605,15 @@ void SUSE2Button::renderGradient(TQPainter *painter, const TQRect &rect, const T int rDiff, gDiff, bDiff; int rc, gc, bc; - register int y; + int y; rDiff = ( c1.red()) - (rc = c2.red()); gDiff = ( c1.green()) - (gc = c2.green()); bDiff = ( c1.blue()) - (bc = c2.blue()); - register int rl = rc << 16; - register int gl = gc << 16; - register int bl = bc << 16; + int rl = rc << 16; + int gl = gc << 16; + int bl = bc << 16; int rdelta = ((1<<16) / r_h) * rDiff; int gdelta = ((1<<16) / r_h) * gDiff;