projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
07ff584
)
stat: add comment on why we need return
author
Jens Axboe
<axboe@fb.com>
Thu, 14 May 2015 15:25:10 +0000
(11:25 -0400)
committer
Jens Axboe
<axboe@fb.com>
Thu, 14 May 2015 15:25:10 +0000
(11:25 -0400)
Signed-off-by: Jens Axboe <axboe@fb.com>
stat.c
patch
|
blob
|
blame
|
history
diff --git
a/stat.c
b/stat.c
index 785a73ddf2ac29168aeced4ee27e6554bc1915ef..7d6ee63dc2dd3dac9faddaeb96da5e34d0a72713 100644
(file)
--- 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;
}