Browse Source

compiler warning

David Rose 17 years ago
parent
commit
d5ca1571ba
1 changed files with 4 additions and 0 deletions
  1. 4 0
      panda/src/event/asyncTaskSequence.cxx

+ 4 - 0
panda/src/event/asyncTaskSequence.cxx

@@ -119,6 +119,10 @@ do_task() {
     // Just return these results through.
     // Just return these results through.
     return result;
     return result;
   }
   }
+
+  // Shouldn't get here.
+  nassertr(false, DS_exit);
+  return DS_exit;
 }
 }
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////