From 2280006bb5c1597cbf4d6212b1f5fba9a6713d58 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 20 Nov 2013 23:12:43 +0100 Subject: [PATCH] Remove unused variables. --- src/surf/cpu_ti.cpp | 3 --- src/surf/surf.cpp | 2 -- 2 files changed, 5 deletions(-) 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; -- 2.20.1