mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
rgw_file: Silence unused-function warnings
Comment out unused insertion operators. Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
This commit is contained in:
parent
1e83b5e834
commit
0e164fa291
@ -83,6 +83,7 @@ namespace {
|
||||
friend ostream& operator<<(ostream& os, const obj_rec& rec);
|
||||
};
|
||||
|
||||
/* Unused
|
||||
ostream& operator<<(ostream& os, const obj_rec& rec)
|
||||
{
|
||||
RGWFileHandle* rgw_fh = rec.rgw_fh;
|
||||
@ -94,7 +95,8 @@ namespace {
|
||||
}
|
||||
return os;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
std::stack<obj_rec> obj_stack;
|
||||
std::deque<obj_rec> cleanup_queue;
|
||||
|
||||
@ -113,6 +115,7 @@ namespace {
|
||||
: obj(_obj), st(_st) {}
|
||||
};
|
||||
|
||||
/* Unused
|
||||
ostream& operator<<(ostream& os, const obj_rec_st& rec)
|
||||
{
|
||||
RGWFileHandle* rgw_fh = rec.obj.rgw_fh;
|
||||
@ -137,6 +140,7 @@ namespace {
|
||||
}
|
||||
return os;
|
||||
}
|
||||
*/
|
||||
|
||||
bool do_marker1 = false;
|
||||
bool do_marker2 = true;
|
||||
|
Loading…
Reference in New Issue
Block a user