From bf10462939bb18a830c0f1c08a8415be147b4217 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Sat, 23 Jan 2016 14:27:39 -0500 Subject: [PATCH] librgw: call rcb in RGWListBucketsRequest operator() Signed-off-by: Matt Benjamin --- src/rgw/rgw_file.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rgw/rgw_file.h b/src/rgw/rgw_file.h index eabb78cb4bfa3..7993192f4b9f2 100644 --- a/src/rgw/rgw_file.h +++ b/src/rgw/rgw_file.h @@ -32,7 +32,8 @@ public: virtual bool only_bucket() { return false; } int operator()(const std::string& name, const std::string& marker) { - (void) rcb(name.c_str(), cb_arg, (*offset)++); + rcb(name.c_str(), cb_arg, (*offset)++); + return 0; } }; /* RGWListBucketsRequest */ -- 2.39.5