From d45fa19d5cc4375b9706cf7b6ea55ba791a1ba8b Mon Sep 17 00:00:00 2001 From: emma Date: Sat, 27 Jul 2024 23:59:32 -0600 Subject: [PATCH] dj(1): fixes extraneous ternary for program_name --- src/dj.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dj.c b/src/dj.c index c4ebf38..8dc066a 100644 --- a/src/dj.c +++ b/src/dj.c @@ -165,7 +165,6 @@ int main(int argc, char *argv[]) { size_t i; /* side of io being modified */ char noerror; /* 0=exits (default) 1=retries on partial reads or writes */ struct Io io[2 /* { in, out } */]; - program_name = (argv[0] == NULL ? program_name : argv[0]); /* Set defaults. */ align = -1;