From 5774892abb4bae8f02f07dd546b0db530f779dae Mon Sep 17 00:00:00 2001 From: zhao liwei Date: Tue, 2 Feb 2021 18:30:20 +0800 Subject: [PATCH] fix: error reported in build process of pegasus-docker (#746) --- src/aio/disk_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aio/disk_engine.cpp b/src/aio/disk_engine.cpp index 24b691dfd0..cfa7565518 100644 --- a/src/aio/disk_engine.cpp +++ b/src/aio/disk_engine.cpp @@ -44,7 +44,7 @@ DSN_REGISTER_COMPONENT_PROVIDER(sim_aio_provider, "dsn::tools::sim_aio_provider" //----------------- disk_file ------------------------ aio_task *disk_write_queue::unlink_next_workload(void *plength) { - uint64_t next_offset; + uint64_t next_offset = 0; uint32_t &sz = *(uint32_t *)plength; sz = 0;