diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h index 679ab7e7c4d..e8982b2a8d9 100644 --- a/src/osd/osd_types.h +++ b/src/osd/osd_types.h @@ -1168,7 +1168,7 @@ struct pg_query_t { pg_history_t history; epoch_t epoch_sent; - pg_query_t() : type(-1) {} + pg_query_t() : type(-1), epoch_sent(0) {} pg_query_t(int t, const pg_history_t& h, epoch_t epoch_sent) : type(t), history(h),