X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d372483508bbd9164c5492148fdfb847348669de..e6ca184e99d50d0ee8fe405a83ee5277e2ecfce6:/src/mc/mc_unw.cpp diff --git a/src/mc/mc_unw.cpp b/src/mc/mc_unw.cpp index bb6053a6a9..ab43771ab2 100644 --- a/src/mc/mc_unw.cpp +++ b/src/mc/mc_unw.cpp @@ -18,7 +18,6 @@ #include -#include "src/mc/mc_object_info.h" #include "src/mc/Process.hpp" #include "src/mc/mc_unw.h" #include "src/mc/Frame.hpp" @@ -110,10 +109,10 @@ static void* get_reg(unw_context_t* context, unw_regnum_t regnum) case UNW_X86_64_R14: return &mcontext->gregs[REG_R14]; case UNW_X86_64_R15: return &mcontext->gregs[REG_R15]; case UNW_X86_64_RIP: return &mcontext->gregs[REG_RIP]; - default: return NULL; + default: return nullptr; } #else - return NULL; + return nullptr; #endif }