]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw_file: Silence unused-function warnings
authorBrad Hubbard <bhubbard@redhat.com>
Fri, 1 Dec 2017 08:41:02 +0000 (18:41 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Fri, 1 Dec 2017 08:41:02 +0000 (18:41 +1000)
Comment out unused insertion operators.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/test/librgw_file_marker.cc

index 74199dfa549a9f6f6cc133eda455cbb59de80f7a..97db99bb86fb44ff9714a00012927cc00da92311 100644 (file)
@@ -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;