From 1366ceca8a115df18885fa9ae1f11452630d03bf Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sat, 8 Jan 2011 19:45:02 +0100 Subject: [PATCH] Remove pointless variable. --- deployment.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.5