Skip to content

Commit

Permalink
Remove pointless comparison to vararg list that can't be checked, ref…
Browse files Browse the repository at this point in the history
…s #30579
  • Loading branch information
christopherLee1 committed Nov 8, 2023
1 parent d3bc7aa commit 8b04462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/htmshell.c
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ void htmlVaBadRequestAbort(char *format, va_list args)
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");
Expand Down

0 comments on commit 8b04462

Please sign in to comment.