Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to silence some warnings
authorAugustin Degomme <augustin.degomme@unibas.ch>
Tue, 19 Sep 2017 08:08:24 +0000 (10:08 +0200)
committerAugustin Degomme <augustin.degomme@unibas.ch>
Tue, 19 Sep 2017 08:08:24 +0000 (10:08 +0200)
src/kernel/context/ContextThread.cpp

index 991e60a..02b9bca 100644 (file)
@@ -203,7 +203,7 @@ void ThreadContext::stop()
   xbt_os_sem_release(this->end_);
 
 #ifndef WIN32
-  stack_t stack  = {0};
+  stack_t stack  = {};
   stack.ss_flags = SS_DISABLE;
   sigaltstack(&stack, nullptr);
 #endif