]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix compilation warning
authorYehuda Sadeh <yehuda@hq.newdream.net>
Sat, 24 Sep 2011 00:26:10 +0000 (17:26 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Sat, 24 Sep 2011 00:26:10 +0000 (17:26 -0700)
src/rgw/rgw_rados.cc

index 413505bcb60b86523b62ba1b91a82968381a4fa6..04cfddbe046977c6eca19cfdee675cbc5b6d50e7 100644 (file)
@@ -1394,7 +1394,7 @@ int RGWRados::clone_objs_impl(void *ctx, rgw_obj& dst_obj,
   }
 
   string tag;
-  uint64_t epoch;
+  uint64_t epoch = 0;
   int ret = prepare_update_index(state, bucket, dst_obj.object, tag);
   if (ret < 0)
     goto done;