From 2748fb7ecb483690c1c2d5f41b387fd3f2e05df8 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 30 Dec 2023 14:14:52 +0100 Subject: Remove NULL check --- cbs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cbs.h b/cbs.h index 088cb55..c5bb7ee 100644 --- a/cbs.h +++ b/cbs.h @@ -314,8 +314,7 @@ diex(const char *fmt, ...) va_start(ap, fmt); flockfile(stderr); fprintf(stderr, "%s: ", *_cbs_argv); - if (fmt) - vfprintf(stderr, fmt, ap); + vfprintf(stderr, fmt, ap); fputc('\n', stderr); exit(EXIT_FAILURE); } -- cgit v1.2.3