diff --git a/panda/src/express/patchfile.cxx b/panda/src/express/patchfile.cxx index b09e449793..800e3dace1 100644 --- a/panda/src/express/patchfile.cxx +++ b/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 // method gets called. nassertr(false, -1); + return -1; } #endif // HAVE_TAR