From: Arnaud Giersch Date: Sat, 8 Jan 2011 18:45:02 +0000 (+0100) Subject: Remove pointless variable. X-Git-Tag: v0.1~189^2 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/1366ceca8a115df18885fa9ae1f11452630d03bf?ds=sidebyside;hp=e536ac5528b51d2c1dec76a5bc1c37b9aaeae67f Remove pointless variable. --- diff --git a/deployment.cpp b/deployment.cpp index 29de927..5826014 100644 --- a/deployment.cpp +++ b/deployment.cpp @@ -44,7 +44,6 @@ void deployment_generator::set_link(int host1, int host2) void deployment_generator::deploy() { - const char* func = "loba"; xbt_dynar_t args = xbt_dynar_new(sizeof(const char*), NULL); for (unsigned i = 0 ; i < hosts.size() ; ++i) { const char* hostname = hostdata::at(i).get_name(); @@ -59,7 +58,7 @@ void deployment_generator::deploy() DEBUG2("%s/neighbor -> \"%s\"", hostname, neighbor_name); xbt_dynar_push_as(args, const char*, neighbor_name); } - MSG_set_function(hostname, func, args); + MSG_set_function(hostname, "loba", args); xbt_dynar_reset(args); } xbt_dynar_free(&args);