Browse Source

compiler warnings

David Rose 17 years ago
parent
commit
b0d64ab831
1 changed files with 2 additions and 1 deletions
  1. 2 1
      panda/src/text/textAssembler.cxx

+ 2 - 1
panda/src/text/textAssembler.cxx

@@ -2349,7 +2349,8 @@ get_primitive(TypeHandle prim_type) {
     return _points;
     return _points;
   }
   }
 
 
-  nassertr(false, false);
+  nassertr(false, NULL);
+  return NULL;
 }
 }
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////