Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[windows] pexport is a dead project anyway
[simgrid.git] / src / mc / Variable.hpp
index ec1e071..31f49c9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2014. The SimGrid Team.
+/* Copyright (c) 2007-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -9,6 +9,8 @@
 
 #include <string>
 
+#include <xbt/base.h>
+
 #include "mc_forward.h"
 #include "mc_location.h"
 
@@ -33,6 +35,18 @@ public:
   simgrid::mc::ObjectInformation* object_info;
 };
 
+inline
+Variable::Variable()
+{
+  this->dwarf_offset = 0;
+  this->global = 0;
+  this->type = nullptr;
+  this->type_id = 0;
+  this->address = nullptr;
+  this->start_scope = 0;
+  this->object_info = nullptr;
+}
+
 }
 }