Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / src / mc / inspect / mc_unw.hpp
index f6c291c..fe0861a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2015-2021. 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. */
@@ -9,7 +9,7 @@
 /** @file
  *  Libunwind implementation for the model-checker
  *
- *  Libunwind provides an pluggable stack unwinding API: the way the current
+ *  Libunwind provides a pluggable stack unwinding API: the way the current
  *  registers and memory is accessed, the way unwinding information is found
  *  is pluggable.
  *
@@ -45,7 +45,7 @@ namespace mc {
 class UnwindContext {
   simgrid::mc::AddressSpace* address_space_ = nullptr;
   simgrid::mc::RemoteSimulation* process_   = nullptr;
-  unw_context_t unwind_context_;
+  unw_context_t unwind_context_             = {};
 
 public:
   void initialize(simgrid::mc::RemoteSimulation* process, unw_context_t* c);