X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d0ffc37686edcc803601f76ab51fdfed5fc2f241..b6e0974be6616f62aa724f7ec7ad1cff1b421e1e:/src/surf/network_constant.cpp diff --git a/src/surf/network_constant.cpp b/src/surf/network_constant.cpp index 13fff27765..97deb3df36 100644 --- a/src/surf/network_constant.cpp +++ b/src/surf/network_constant.cpp @@ -4,7 +4,7 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_network); static int host_number_int = 0; -static void netcste_count_hosts(sg_platf_host_cbarg_t h) { +static void netcste_count_hosts(sg_platf_host_cbarg_t /*h*/) { host_number_int++; } @@ -24,7 +24,7 @@ void surf_network_model_init_Constant() routing_model_create(NULL); } -double NetworkConstantModel::shareResources(double now) +double NetworkConstantModel::shareResources(double /*now*/) { void *_action = NULL; NetworkConstantActionLmmPtr action = NULL; @@ -43,7 +43,7 @@ double NetworkConstantModel::shareResources(double now) return min; } -void NetworkConstantModel::updateActionsState(double now, double delta) +void NetworkConstantModel::updateActionsState(double /*now*/, double delta) { void *_action, *_next_action; NetworkConstantActionLmmPtr action = NULL; @@ -94,8 +94,8 @@ bool NetworkConstantLinkLmm::isUsed() return 0; } -void NetworkConstantLinkLmm::updateState(tmgr_trace_event_t event_type, - double value, double time) +void NetworkConstantLinkLmm::updateState(tmgr_trace_event_t /*event_type*/, + double /*value*/, double /*time*/) { DIE_IMPOSSIBLE; } @@ -139,7 +139,7 @@ void NetworkConstantActionLmm::cancel() } #ifdef HAVE_TRACING -void NetworkConstantActionLmm::setCategory(const char *category) +void NetworkConstantActionLmm::setCategory(const char */*category*/) { //ignore completely the categories in constant model, they are not traced }