Browse Source

squelch warning

David Rose 18 years ago
parent
commit
65a84a7074
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/express/patchfile.cxx

+ 1 - 0
panda/src/express/patchfile.cxx

@@ -1380,6 +1380,7 @@ tar_writefunc(int, const void *, size_t) {
   // Since we use libtar only for reading, it is an error if this
   // Since we use libtar only for reading, it is an error if this
   // method gets called.
   // method gets called.
   nassertr(false, -1);
   nassertr(false, -1);
+  return -1;
 }
 }
 #endif  // HAVE_TAR
 #endif  // HAVE_TAR