Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill unused function surf_parse_warn().
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 12 Feb 2018 23:10:21 +0000 (00:10 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 13 Feb 2018 10:18:01 +0000 (11:18 +0100)
src/surf/xml/platf.hpp
src/surf/xml/surfxml_sax_cb.cpp

index 51b7cc3..7b1c5b4 100644 (file)
@@ -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);
index f41d907..7f3d0ba 100644 (file)
@@ -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 {