summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 23:58:41 +0900
commitce9614515fa863c4a66870f5288e417eceaf9106 (patch)
tree46822e581173d96db101d0c8521fa1730cd09602 /examples
parentcd2dc5026e152d6cf57895fe4f41cabdf2bb3eca (diff)
downloadtqt3-ce9614515fa863c4a66870f5288e417eceaf9106.tar.gz
tqt3-ce9614515fa863c4a66870f5288e417eceaf9106.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 99e56ba8db70324cc5c7ab416a3b48171613bd59)
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/opengl/fbm.c2
-rw-r--r--examples/desktop/desktop.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/demo/opengl/fbm.c b/examples/demo/opengl/fbm.c
index 20c48666..5bfa4844 100644
--- a/examples/demo/opengl/fbm.c
+++ b/examples/demo/opengl/fbm.c
@@ -106,7 +106,7 @@ float noise3(float vec[3])
{
int bx0, bx1, by0, by1, bz0, bz1, b00, b10, b01, b11;
float rx0, rx1, ry0, ry1, rz0, rz1, *q, sy, sz, a, b, c, d, t, u, v;
- register int i, j;
+ int i, j;
if (start) {
start = 0;
diff --git a/examples/desktop/desktop.cpp b/examples/desktop/desktop.cpp
index 330c6ad3..15353e98 100644
--- a/examples/desktop/desktop.cpp
+++ b/examples/desktop/desktop.cpp
@@ -53,7 +53,7 @@ void poly()
int head = 0;
int tail = -maxcurves + 2;
TQPointArray *a = new TQPointArray[ maxcurves ];
- register TQPointArray *p;
+ TQPointArray *p;
TQRect r = d->rect(); // desktop rectangle
int i;