Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
initialize all fields of the xbt_ex_t class
[simgrid.git] / include / xbt / ex.hpp
index de8c43d..cde2d3e 100644 (file)
@@ -83,10 +83,10 @@ public:
   ~xbt_ex() override;
 
   /** Category (what went wrong) */
-  xbt_errcat_t category;
+  xbt_errcat_t category = unknown_error;
 
   /** Why did it went wrong */
-  int value;
+  int value = 0;
 
 };