/* lib - a generic library, variation over dictionary */
-/* Copyright (c) 2011. The SimGrid Team.
+/* Copyright (c) 2011, 2013. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
if (!obj) {
XBT_WARN("no key %s at level %d", key, level);
- return;
} else {
XBT_DEBUG("Remove %p of key %s at level %d", obj, key, level);
if (invoke_callback)
elts[level] = NULL;
}
- /* check if there are elements of this key */
+ /* check if there still remains any elements of this key */
int i;
for (i = 0; i < lib->levels; i++) {
if (elts[i] != NULL)