unsigned int find_node(node_t node, unsigned int id_to_find, unsigned int count_in_stats)
{
- unsigned int i = 0;
unsigned int queries;
unsigned int answers;
unsigned int destination_found = 0;
// Handle the answer
routing_table_update(node, msg->sender_id);
node_contact_t contact;
+ unsigned int i;
xbt_dynar_foreach (node_list->nodes, i, contact)
routing_table_update(node, contact->id);
jobjectArray jtable;
jobject jstorage;
jstring jname;
- sg_storage_t storage;
xbt_dynar_t table = sg_storages_as_dynar();
int count = xbt_dynar_length(table);
}
for (index = 0; index < count; index++) {
- storage = xbt_dynar_get_as(table, index, sg_storage_t);
+ sg_storage_t storage = xbt_dynar_get_as(table, index, sg_storage_t);
if (java_storage_map.find(storage) != java_storage_map.end()) {
jstorage = java_storage_map.at(storage);
} else {