From 9d34bad1e34af28081b6000cf99d514c892a1c7e Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 13 Feb 2018 00:10:21 +0100 Subject: [PATCH] Kill unused function surf_parse_warn(). --- src/surf/xml/platf.hpp | 1 - src/surf/xml/surfxml_sax_cb.cpp | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/surf/xml/platf.hpp b/src/surf/xml/platf.hpp index 51b7cc3072..7b1c5b4f18 100644 --- a/src/surf/xml/platf.hpp +++ b/src/surf/xml/platf.hpp @@ -19,7 +19,6 @@ XBT_PUBLIC(void) surf_parse_close(); XBT_PUBLIC(void) surf_parse_assert(bool cond, std::string msg); XBT_ATTRIB_NORETURN XBT_PUBLIC(void) surf_parse_error(std::string msg); XBT_PUBLIC(void) surf_parse_assert_netpoint(std::string hostname, std::string pre, std::string post); -XBT_PUBLIC(void) surf_parse_warn(std::string msg); XBT_PUBLIC(double) surf_parse_get_double(std::string s); XBT_PUBLIC(int) surf_parse_get_int(std::string s); diff --git a/src/surf/xml/surfxml_sax_cb.cpp b/src/surf/xml/surfxml_sax_cb.cpp index f41d907c16..7f3d0ba9c6 100644 --- a/src/surf/xml/surfxml_sax_cb.cpp +++ b/src/surf/xml/surfxml_sax_cb.cpp @@ -81,11 +81,6 @@ void surf_parse_assert_netpoint(std::string hostname, std::string pre, std::stri surf_parse_error(msg); } -void surf_parse_warn(std::string msg) -{ - XBT_WARN("%s:%d: %s", surf_parsed_filename, surf_parse_lineno, msg.c_str()); -} - double surf_parse_get_double(std::string s) { try { -- 2.20.1