X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/76eeb364d55b209fc0b779dac104a0e39dc6d282..5eeb3c843b60e9ba5e1a952ffe83df2a4d8f5fa0:/src/mc/mc_member.cpp diff --git a/src/mc/mc_member.cpp b/src/mc/mc_member.cpp index ff4c77f115..6187b340ba 100644 --- a/src/mc/mc_member.cpp +++ b/src/mc/mc_member.cpp @@ -1,12 +1,12 @@ -/* Copyright (c) 2014-2015. The SimGrid Team. +/* Copyright (c) 2014-2018. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include "src/mc/mc_private.h" #include "src/mc/Type.hpp" #include "src/mc/mc_dwarf.hpp" +#include "src/mc/mc_private.hpp" namespace simgrid { namespace dwarf { @@ -19,9 +19,8 @@ namespace dwarf { * @param snapshot Snapshot (or nullptr) * @return Process address of the given member of the 'object' struct/class */ -void *resolve_member( - const void *base, simgrid::mc::Type* type, simgrid::mc::Member* member, - simgrid::mc::AddressSpace* address_space, int process_index) +void* resolve_member(const void* base, simgrid::mc::Type* /*type*/, simgrid::mc::Member* member, + simgrid::mc::AddressSpace* address_space, int process_index) { ExpressionContext state; state.frame_base = nullptr;