From: Arnaud Giersch Date: Wed, 20 Nov 2013 22:12:43 +0000 (+0100) Subject: Remove unused variables. X-Git-Tag: v3_11_beta~254 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2280006bb5c1597cbf4d6212b1f5fba9a6713d58?hp=b6e0974be6616f62aa724f7ec7ad1cff1b421e1e Remove unused variables. --- diff --git a/src/surf/cpu_ti.cpp b/src/surf/cpu_ti.cpp index 484d895b6d..ea61b9a4de 100644 --- a/src/surf/cpu_ti.cpp +++ b/src/surf/cpu_ti.cpp @@ -470,9 +470,6 @@ CpuTiPtr CpuTiModel::createResource(const char *name, tmgr_trace_t stateTrace, xbt_dict_t cpuProperties) { - tmgr_trace_t empty_trace; - s_tmgr_event_t val; - CpuTiActionPtr cpuAction; xbt_assert(core==1,"Multi-core not handled with this model yet"); xbt_assert(!surf_cpu_resource_priv(surf_cpu_resource_by_name(name)), "Host '%s' declared several times in the platform file", diff --git a/src/surf/surf.cpp b/src/surf/surf.cpp index 6d1a479e0a..d7fec1b68c 100644 --- a/src/surf/surf.cpp +++ b/src/surf/surf.cpp @@ -173,8 +173,6 @@ static xbt_parmap_t surf_parmap = NULL; /* parallel map on models */ #endif static double *surf_mins = NULL; /* return value of share_resources for each model */ -static int surf_min_index; /* current index in surf_mins */ -static double min; /* duration determined by surf_solve */ double NOW = 0;