X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ef70fe0e745f7125accbcc1c076c2ef082bc3f98..b6e0974be6616f62aa724f7ec7ad1cff1b421e1e:/src/surf/network.cpp diff --git a/src/surf/network.cpp b/src/surf/network.cpp index 66d2a314e8..eb77f12111 100644 --- a/src/surf/network.cpp +++ b/src/surf/network.cpp @@ -312,7 +312,7 @@ NetworkCm02LinkLmmPtr NetworkCm02Model::createResource(const char *name, return nw_link; } -void NetworkCm02Model::updateActionsStateLazy(double now, double delta) +void NetworkCm02Model::updateActionsStateLazy(double now, double /*delta*/) { NetworkCm02ActionLmmPtr action; while ((xbt_heap_size(p_actionHeap) > 0) @@ -322,7 +322,7 @@ void NetworkCm02Model::updateActionsStateLazy(double now, double delta) #ifdef HAVE_TRACING if (TRACE_is_enabled()) { int n = lmm_get_number_of_cnst_from_var(p_maxminSystem, action->p_variable); - unsigned int i; + int i; for (i = 0; i < n; i++){ lmm_constraint_t constraint = lmm_get_cnst_from_var(p_maxminSystem, action->p_variable, @@ -498,15 +498,15 @@ ActionPtr NetworkCm02Model::communicate(RoutingEdgePtr src, RoutingEdgePtr dst, return action; } -double NetworkCm02Model::latencyFactor(double size) { +double NetworkCm02Model::latencyFactor(double /*size*/) { return sg_latency_factor; } -double NetworkCm02Model::bandwidthFactor(double size) { +double NetworkCm02Model::bandwidthFactor(double /*size*/) { return sg_bandwidth_factor; } -double NetworkCm02Model::bandwidthConstraint(double rate, double bound, double size) { +double NetworkCm02Model::bandwidthConstraint(double rate, double /*bound*/, double /*size*/) { return rate; }