From e2ed6db844bf91d3a5dccbc76ee54344ddf5dcca Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 16 Feb 2010 19:53:51 -0800 Subject: [PATCH] osdmap: fix uninit var warning Harmless, but this shuts it up. --- src/osd/OSDMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/OSDMap.h b/src/osd/OSDMap.h index 16aca0dde61b6..ea388a75d6005 100644 --- a/src/osd/OSDMap.h +++ b/src/osd/OSDMap.h @@ -607,7 +607,7 @@ private: ::decode(created, p); ::decode(modified, p); - int32_t max_pools; + int32_t max_pools = 0; if (v < 4) { ::decode(max_pools, p); } -- 2.39.5