Merge branch 'master' of https://github.com/bvanassche/fio
authorJens Axboe <axboe@kernel.dk>
Thu, 24 Feb 2022 19:40:19 +0000 (12:40 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Feb 2022 19:40:19 +0000 (12:40 -0700)
* 'master' of https://github.com/bvanassche/fio:
  Fix three compiler warnings

engines/cmdprio.c

index dd358754de4d34d24037df7ed621327342a80e27..979a81b6c3c32076385a9bedcbd8fb5a2b6b0044 100644 (file)
@@ -319,7 +319,7 @@ static int fio_cmdprio_gen_perc(struct thread_data *td, struct cmdprio *cmdprio)
 {
        struct cmdprio_options *options = cmdprio->options;
        struct cmdprio_prio *prio;
-       struct cmdprio_values values[CMDPRIO_RWDIR_CNT] = {0};
+       struct cmdprio_values values[CMDPRIO_RWDIR_CNT] = {};
        struct thread_stat *ts = &td->ts;
        enum fio_ddir ddir;
        int ret;
@@ -368,8 +368,8 @@ static int fio_cmdprio_parse_and_gen_bssplit(struct thread_data *td,
                                             struct cmdprio *cmdprio)
 {
        struct cmdprio_options *options = cmdprio->options;
-       struct cmdprio_parse_result parse_res[CMDPRIO_RWDIR_CNT] = {0};
-       struct cmdprio_values values[CMDPRIO_RWDIR_CNT] = {0};
+       struct cmdprio_parse_result parse_res[CMDPRIO_RWDIR_CNT] = {};
+       struct cmdprio_values values[CMDPRIO_RWDIR_CNT] = {};
        struct thread_stat *ts = &td->ts;
        int ret, implicit_cmdprio;
        enum fio_ddir ddir;