diff options
author | Sage Weil <sage@inktank.com> | 2013-09-18 20:25:09 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-09-18 20:38:51 -0700 |
commit | 96010924cbbcbd00ca4605fb6a5a336ccfa43c7d (patch) | |
tree | a494135eeeb927154ac4bfcf7714860c74715f79 | |
parent | ce723b5ad6884fa337b3b66123e798a5b602e49b (diff) | |
download | ceph-96010924cbbcbd00ca4605fb6a5a336ccfa43c7d.tar.gz |
os/FileStore: fix uninitialized var
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/os/FileStore.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index 66581bcde38..5d9e9d1482d 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -4152,7 +4152,7 @@ int FileStore::_collection_move_rename(coll_t oldcid, const hobject_t& oldoid, const SequencerPosition& spos) { dout(15) << __func__ << " " << c << "/" << o << " from " << oldcid << "/" << oldoid << dendl; - int r; + int r = 0; int dstcmp, srccmp; dstcmp = _check_replay_guard(c, o, spos); |