From: Arnaud Giersch Date: Tue, 19 Jun 2018 14:57:48 +0000 (+0200) Subject: Kill unused static function. X-Git-Tag: v3.20~56 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2e40926b89abb8968905608e4f3d09eee9febb18?ds=sidebyside Kill unused static function. --- diff --git a/src/smpi/internals/smpi_global.cpp b/src/smpi/internals/smpi_global.cpp index cca996252f..54849a5d4e 100644 --- a/src/smpi/internals/smpi_global.cpp +++ b/src/smpi/internals/smpi_global.cpp @@ -134,13 +134,6 @@ void smpi_comm_set_copy_data_callback(void (*callback) (smx_activity_t, void*, s smpi_comm_copy_data_callback = callback; } -static void print(std::vector> vec) { - std::fprintf(stderr, "{"); - for (auto const& elt : vec) { - std::fprintf(stderr, "(0x%zx, 0x%zx),", elt.first, elt.second); - } - std::fprintf(stderr, "}\n"); -} static void memcpy_private(void* dest, const void* src, std::vector>& private_blocks) { for (auto const& block : private_blocks)