Browse Source

pgraph: Fix a compiler warning in renderEffects.I

Initialization is unnecessary, but harmless
rdb 3 years ago
parent
commit
8ca804086f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pgraph/renderEffects.I

+ 1 - 1
panda/src/pgraph/renderEffects.I

@@ -26,7 +26,7 @@ Effect(const RenderEffect *effect) :
  * file.  At this point, the effect pointer is unknown.
  */
 INLINE RenderEffects::Effect::
-Effect() {
+Effect() : _type(TypeHandle::none()) {
 }
 
 /**