Skip to content

Commit

Permalink
Avoid odd gcc warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Jan 24, 2015
1 parent dbdf2d0 commit 09b27ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pigz.c
Expand Up @@ -820,8 +820,9 @@ local void log_dump(void)
/* abort or catch termination signal */
local void cut_short(int sig)
{
if (sig == SIGINT)
if (sig == SIGINT) {
Trace(("termination by user"));
}
if (g.outd != -1 && g.outd != 1) {
unlink(g.outf);
RELEASE(g.outf);
Expand Down

0 comments on commit 09b27ad

Please sign in to comment.