Remove unnecessary initialization
This commit is contained in:
parent
e6f4d1cf2b
commit
2e1ec8e44c
|
|
@ -5396,7 +5396,6 @@ static float HalfToFloat(unsigned short x)
|
||||||
float result = 0.0f;
|
float result = 0.0f;
|
||||||
|
|
||||||
union floatUnsignedUnion uni;
|
union floatUnsignedUnion uni;
|
||||||
uni.fm = 0.0f;
|
|
||||||
|
|
||||||
const unsigned int e = (x & 0x7C00) >> 10; // Exponent
|
const unsigned int e = (x & 0x7C00) >> 10; // Exponent
|
||||||
const unsigned int m = (x & 0x03FF) << 13; // Mantissa
|
const unsigned int m = (x & 0x03FF) << 13; // Mantissa
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user