summaryrefslogtreecommitdiffstats
path: root/digikam/imageplugins/raindrop
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 23:52:51 +0900
commit0ed58e3fbf0c0e68cce32d1f53d4953ecc297eeb (patch)
treec1f07366eaf6db1785f60f00b32d68117927cf3c /digikam/imageplugins/raindrop
parent68ff3e24d592436394e6bcf1b08b92f0377425d0 (diff)
downloaddigikam-0ed58e3fbf0c0e68cce32d1f53d4953ecc297eeb.tar.gz
digikam-0ed58e3fbf0c0e68cce32d1f53d4953ecc297eeb.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 15e0330f8ac92ed59952a569d9de20dcc8d00484)
Diffstat (limited to 'digikam/imageplugins/raindrop')
-rw-r--r--digikam/imageplugins/raindrop/raindrop.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/digikam/imageplugins/raindrop/raindrop.cpp b/digikam/imageplugins/raindrop/raindrop.cpp
index db7c8ce..7be977f 100644
--- a/digikam/imageplugins/raindrop/raindrop.cpp
+++ b/digikam/imageplugins/raindrop/raindrop.cpp
@@ -207,7 +207,7 @@ bool RainDrop::CreateRainDrop(uchar *pBits, int Width, int Height, bool sixteenB
uchar *pResBits, uchar* pStatusBits,
int X, int Y, int DropSize, double Coeff, bool bLimitRange)
{
- register int w, h, nw1, nh1, nw2, nh2;
+ int w, h, nw1, nh1, nw2, nh2;
int nHalfSize = DropSize / 2;
int nBright;
double lfRadius, lfOldRadius, lfAngle, lfDiv;
@@ -403,7 +403,7 @@ bool RainDrop::CreateRainDrop(uchar *pBits, int Width, int Height, bool sixteenB
bool RainDrop::CanBeDropped(int Width, int Height, uchar *pStatusBits, int X, int Y,
int DropSize, bool bLimitRange)
{
- register int w, h, i = 0;
+ int w, h, i = 0;
int nHalfSize = DropSize / 2;
if (pStatusBits == NULL)
@@ -433,7 +433,7 @@ bool RainDrop::CanBeDropped(int Width, int Height, uchar *pStatusBits, int X, in
bool RainDrop::SetDropStatusBits (int Width, int Height, uchar *pStatusBits,
int X, int Y, int DropSize)
{
- register int w, h, i = 0;
+ int w, h, i = 0;
int nHalfSize = DropSize / 2;
if (pStatusBits == NULL)