Skip to content

Commit

Permalink
build: Silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelforney committed Mar 29, 2020
1 parent c9ad766 commit 5db27a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ formatstatus(char *buf, size_t len)
break;
default:
fatal("unknown placeholder '%%%c' in $NINJA_STATUS", *fmt);
continue; /* unreachable, but avoids warning */
}
if (n < 0)
fatal("snprintf:");
Expand Down

0 comments on commit 5db27a4

Please sign in to comment.