]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/spirit/home/karma/detail/alternative_function.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / spirit / home / karma / detail / alternative_function.hpp
index ad7499574368e797809455e991f4ac1fcf6f39b9..e4ec0d58df43a6cd63630af82509a787fb49fc3c 100644 (file)
@@ -55,7 +55,7 @@ namespace boost { namespace spirit { namespace karma { namespace detail
           , Delimiter const& d, unused_type, bool&)
         {
 #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1600))
-            component; // suppresses warning: C4100: 'component' : unreferenced formal parameter
+            (void)component; // suppresses warning: C4100: 'component' : unreferenced formal parameter
 #endif
             // return true if any of the generators succeed
             return component.generate(sink, ctx, d, unused);
@@ -87,7 +87,7 @@ namespace boost { namespace spirit { namespace karma { namespace detail
           , Context& ctx, Delimiter const& d, Attribute const& attr, bool&)
         {
 #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1600))
-            component; // suppresses warning: C4100: 'component' : unreferenced formal parameter
+            (void)component; // suppresses warning: C4100: 'component' : unreferenced formal parameter
 #endif
             return call(component, sink, ctx, d, attr
               , spirit::traits::not_is_variant_or_variant_in_optional<Attribute, karma::domain>());
@@ -99,7 +99,7 @@ namespace boost { namespace spirit { namespace karma { namespace detail
           , Context& ctx, Delimiter const& d, Attribute const& attr, mpl::true_)
         {
 #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1600))
-            component; // suppresses warning: C4100: 'component' : unreferenced formal parameter
+            (void)component; // suppresses warning: C4100: 'component' : unreferenced formal parameter
 #endif
             return component.generate(sink, ctx, d, attr);
         }
@@ -110,7 +110,7 @@ namespace boost { namespace spirit { namespace karma { namespace detail
           , Context& ctx, Delimiter const& d, Attribute const& attr, mpl::false_)
         {
 #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1600))
-            component; // suppresses warning: C4100: 'component' : unreferenced formal parameter
+            (void)component; // suppresses warning: C4100: 'component' : unreferenced formal parameter
 #endif
             typedef
                 traits::compute_compatible_component<Expected, Attribute, domain>