Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert last change since it did nothing beside arming the code esthetic ;)
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 25 Sep 2006 19:08:05 +0000 (19:08 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 25 Sep 2006 19:08:05 +0000 (19:08 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2812 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/dict_multi.c

index 62c999b..2ee799c 100644 (file)
@@ -97,37 +97,13 @@ xbt_multidict_set(xbt_dict_t  mdict,
     xbt_dynar_push(lens,&thislen);
   }
 
-  /*TRY
-  {
-        xbt_multidict_set_ext(mdict, keys, lens, data, free_ctn);
-  }
-  CLEANUP
-  {
-    xbt_dynar_free(&lens);
-  }
-  CATCH(e)
-  {
-    RETHROW;
-  }*/
-
-  TRY
-  {
-        xbt_multidict_set_ext(mdict, keys, lens, data, free_ctn);
-  }
-  CLEANUP
-  {
+  TRY {
+    xbt_multidict_set_ext(mdict, keys, lens, data, free_ctn);
+  } CLEANUP {
     xbt_dynar_free(&lens);
-  }
-  CATCH(e)
-  {
+  } CATCH(e) {
     RETHROW;
   }
-
-
-
-
-
-
 }
 
 /** \brief Insert \e data under all the keys contained in \e keys, providing their sizes in \e lens.