]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/dict.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill "if" before free, and useless cast of free argument.
[simgrid.git] / src / xbt / dict.c
index d4320000f16aa3411fef5e4a77edaf8aa29709fb..d591e01b9f87c28c867ac5ffba5357dd0699503c 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;