Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-02-20 03:18:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-02-20 04:21:05 +0300
commit146fe1decfd9fe8760df6d184770d6c8c2a5d994 (patch)
treebecd7f064ae16bba8ddb773ba637a44ce323043f /source/blender/freestyle
parent60e877bb78dce39e05b3d6d87b2a45803073f802 (diff)
Cleanup: remove use of 'register'
This isn't needed with modern compilers.
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r--source/blender/freestyle/intern/system/RandGen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/system/RandGen.cpp b/source/blender/freestyle/intern/system/RandGen.cpp
index 719287b102f..d4cd6796a68 100644
--- a/source/blender/freestyle/intern/system/RandGen.cpp
+++ b/source/blender/freestyle/intern/system/RandGen.cpp
@@ -70,10 +70,10 @@ namespace Freestyle {
(void)0
# define NEST(TYPE, f, F) \
- TYPE f(register unsigned short *xsubi) \
+ TYPE f(unsigned short *xsubi) \
{ \
- register int i; \
- register TYPE v; \
+ int i; \
+ TYPE v; \
unsigned temp[3]; \
for (i = 0; i < 3; i++) { \
temp[i] = x[i]; \