]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: initialize variable before call 1191/head
authorYehuda Sadeh <yehuda@inktank.com>
Wed, 5 Feb 2014 23:19:51 +0000 (15:19 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Wed, 5 Feb 2014 23:19:51 +0000 (15:19 -0800)
commit9ecf3467a3efc071954c4f69a23b51e677742c1f
treeb77c7d284b0f7065cf2f59bf00aae6e26a168f8c
parentb0f370780e1a14b98727673279d42ac19cc39fc9
rgw: initialize variable before call

Need to initialize the truncated variable, as we sometimes ignore error
response (e.g., with ENOENT), and in such cases we can't expect it to be
set.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_bucket.cc