From: Jens Axboe Date: Thu, 14 May 2015 15:25:10 +0000 (-0400) Subject: stat: add comment on why we need return X-Git-Tag: fio-2.2.9~37 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=081c2dc3d8dd768aa17cea66584af55d744b6662;p=fio.git stat: add comment on why we need return Signed-off-by: Jens Axboe --- diff --git a/stat.c b/stat.c index 785a73dd..7d6ee63d 100644 --- a/stat.c +++ b/stat.c @@ -510,6 +510,7 @@ static int block_state_category(int block_state) case BLOCK_STATE_TRIM_FAILURE: return 2; default: + /* Silence compile warning on some BSDs and have a return */ assert(0); return -1; }