1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

Remove unneeded register keyword.

In modern compilers, the register keyword has no effect. On clang, it
generates warnings.
This commit is contained in:
Darryl Pogue
2014-04-20 17:12:23 -07:00
parent b66a2ba9e3
commit 87e2150948

View File

@ -106,13 +106,13 @@ public:
inline float hsFastMath::InvSqrtAppr(float x)
{
register unsigned long a = *(long*)&x;
register float arg = x;
unsigned long a = *(long*)&x;
float arg = x;
union {
long i;
float f;
} seed;
register float r;
float r;
extern unsigned char statSeedTable[];
@ -133,13 +133,13 @@ inline float hsFastMath::InvSqrtAppr(float x)
inline float hsFastMath::InvSqrt(float x)
{
register unsigned long a = *(long*)&x;
register float arg = x;
unsigned long a = *(long*)&x;
float arg = x;
union {
long i;
float f;
} seed;
register float r;
float r;
extern unsigned char statSeedTable[];