X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=util%2Ferror_util.c;h=e64162c7a885e622fd591b44c9d9a2175342bbd6;hp=630d22817539b39c4da66db3f84f647abef6187e;hb=a6b0772b60d9191fcc291358eec3d78bfea31f1c;hpb=1dedfc90f6eee7cad10f1a1ceb39a7a1c4dbd1b1 diff --git a/util/error_util.c b/util/error_util.c index 630d2281..e64162c7 100644 --- a/util/error_util.c +++ b/util/error_util.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see http://www.gnu.org/licenses/ . + * along with this program. If not, see https://www.gnu.org/licenses/ . * * Author: Carl Worth */ @@ -24,7 +24,7 @@ #include "error_util.h" -int +void _internal_error (const char *format, ...) { va_list va_args; @@ -34,8 +34,7 @@ _internal_error (const char *format, ...) fprintf (stderr, "Internal error: "); vfprintf (stderr, format, va_args); + va_end (va_args); exit (1); - - return 1; }