Enable FIO_HAVE_CHARDEV_SIZE on DragonFlyBSD
[fio.git] / stat.c
diff --git a/stat.c b/stat.c
index 9a30bea4d01cf57a710ed8277b23ec336ea3c0d8..7d6ee63dc2dd3dac9faddaeb96da5e34d0a72713 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -510,7 +510,9 @@ 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;
        }
 }