From: Arnaud Giersch Date: Tue, 21 Jan 2014 21:04:14 +0000 (+0100) Subject: Comment unused variables and parameters. X-Git-Tag: v3_11_beta~135 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8fc273cbdcbfba7606fc4a1fecac726cadcc74ae?hp=fd10f21f197cb196350ffa8e7fe79c99ce38af42 Comment unused variables and parameters. --- diff --git a/src/surf/vm_workstation_hl13.cpp b/src/surf/vm_workstation_hl13.cpp index bb6add4ed6..66b3c6a09a 100644 --- a/src/surf/vm_workstation_hl13.cpp +++ b/src/surf/vm_workstation_hl13.cpp @@ -297,10 +297,10 @@ WorkstationVMHL13::WorkstationVMHL13(WorkstationVMModelPtr model, const char* na WorkstationVMHL13::~WorkstationVMHL13() { /* ind_phys_workstation equals to smx_host_t */ - surf_resource_t ind_vm_workstation = xbt_lib_get_elm_or_null(host_lib, getName()); + // surf_resource_t ind_vm_workstation = xbt_lib_get_elm_or_null(host_lib, getName()); /* Before clearing the entries in host_lib, we have to pick up resources. */ - CpuCas01Ptr cpu = static_cast(surf_cpu_resource_priv(ind_vm_workstation)); + // CpuCas01Ptr cpu = static_cast(surf_cpu_resource_priv(ind_vm_workstation)); /* We deregister objects from host_lib, without invoking the freeing callback * of each level. @@ -332,7 +332,7 @@ WorkstationVMHL13::~WorkstationVMHL13() /* Free the workstation resource of the VM. */ } -void WorkstationVMHL13::updateState(tmgr_trace_event_t event_type, double value, double date) { +void WorkstationVMHL13::updateState(tmgr_trace_event_t /*event_type*/, double /*value*/, double /*date*/) { THROW_IMPOSSIBLE; /* This model does not implement parallel tasks */ }