Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add some _XBT_GNUC_UNUSED to avoid compilation warnings with NDEBUG
[simgrid.git] / src / xbt / dict.c
index d432000..d591e01 100644 (file)
@@ -975,7 +975,8 @@ static void count(xbt_dict_t dict, int length)
 static void count_check_get_key(xbt_dict_t dict, int length)
 {
   xbt_dict_cursor_t cursor;
-  char *key, *key2;
+  char *key;
+  _XBT_GNUC_UNUSED char *key2;
   void *data;
   int effective = 0;