From c8f31fb2fa9a21349f88bc2a86205564a0e12ded Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Mon, 22 Dec 2008 15:20:27 -0800 Subject: [PATCH] remove uninitialized warnings --- src/cmds.cc | 2 +- src/osd/osd_types.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cmds.cc b/src/cmds.cc index 4749d85c59ed2..cd7fd2af14d1b 100644 --- a/src/cmds.cc +++ b/src/cmds.cc @@ -43,7 +43,7 @@ int main(int argc, const char **argv) const char *monhost = 0; int whoami = -1; bool standby = false; // by default, i'll start active. - int standby_replay_for; + int standby_replay_for = 0; for (unsigned i=0; i