Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Mark as volatile a variable used in a CATCH block
authoreyraudl <eyraudl@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 21 Sep 2006 09:54:18 +0000 (09:54 +0000)
committereyraudl <eyraudl@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 21 Sep 2006 09:54:18 +0000 (09:54 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2793 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/Msg/msg.c

index e4edd08..65ffedd 100644 (file)
@@ -500,7 +500,8 @@ gras_msg_handle(double timeOut) {
   
   double          untiltimer;
    
-  int             cpt, ran_ok;
+  int             cpt;
+  int volatile ran_ok;
 
   s_gras_msg_t    msg;