Clear up a C++ compile warning

This commit is contained in:
John Kessenich 2015-07-06 21:02:26 -06:00
parent e0603a441e
commit ff5abf34a8

View File

@ -43,6 +43,8 @@ class TConstUnion {
public: public:
POOL_ALLOCATOR_NEW_DELETE(GetThreadPoolAllocator()) POOL_ALLOCATOR_NEW_DELETE(GetThreadPoolAllocator())
TConstUnion() : iConst(0), type(EbtInt) { }
void setIConst(int i) void setIConst(int i)
{ {
iConst = i; iConst = i;
@ -398,7 +400,7 @@ private:
unsigned int uConst; // used for uvec, scalar uints unsigned int uConst; // used for uvec, scalar uints
bool bConst; // used for bvec, scalar bools bool bConst; // used for bvec, scalar bools
double dConst; // used for vec, dvec, mat, dmat, scalar floats and doubles double dConst; // used for vec, dvec, mat, dmat, scalar floats and doubles
} ; };
TBasicType type; TBasicType type;
}; };