Index: libs/serialization/src/basic_serializer_map.cpp =================================================================== --- libs/serialization/src/basic_serializer_map.cpp (revision 84235) +++ libs/serialization/src/basic_serializer_map.cpp (working copy) @@ -45,6 +45,7 @@ // attempt to insert serializer into it's map const std::pair result = m_map.insert(bs); + (void)result; // Silence warning // the following is commented out - rather than being just // deleted as a reminder not to try this. Index: libs/serialization/src/basic_iarchive.cpp =================================================================== --- libs/serialization/src/basic_iarchive.cpp (revision 84235) +++ libs/serialization/src/basic_iarchive.cpp (working copy) @@ -456,6 +456,7 @@ int i = cid; cobject_id_vector[i].bpis_ptr = bpis_ptr; BOOST_ASSERT(new_cid == cid); + (void)new_cid; // Avoid warning when NDEBUG is on } int i = cid; cobject_id & co = cobject_id_vector[i];