8b044625d9cdd9dfaec89ff32d0ecb069b7c0565
chmalee
  Wed Nov 8 14:01:18 2023 -0800
Remove pointless comparison to vararg list that can't be checked, refs #30579

diff --git src/lib/htmshell.c src/lib/htmshell.c
index 11d5b19..2e0b3b9 100644
--- src/lib/htmshell.c
+++ src/lib/htmshell.c
@@ -710,31 +710,31 @@
 vfprintf(stderr, format, argscp);
 fprintf(stderr, "\n");
 fflush(stderr);
 va_end(argscp);
 }
 
 void htmlVaBadRequestAbort(char *format, va_list args)
 /* Print out an HTTP header 400 status code (Bad Request) and message, then exit with error.
  * NOTE: This must be installed using pushWarnHandler (pushAbortHandler optional) because
  * vaErrAbort calls vaWarn and then noWarnAbort.  So if the defaut warn handler is used, then
  * the error message will be printed out by defaultVaWarn before this prints out the header. */
 {
 puts("Status: 400\r");
 puts("Content-Type: text/plain; charset=UTF-8\r");
 puts("\r");
-if (format != NULL && args != NULL)
+if (format != NULL)
     {
     vfprintf(stdout, format, args);
     fprintf(stdout, "\n");
     }
 exit(-1);
 }
 
 void htmlAbort()
 /* Terminate HTML file. */
 {
 longjmp(htmlRecover, -1);
 }
 
 void htmlMemDeath()
 {