A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Little reorganization of XBT, huge adding of log documentation, placeholder for the...
[simgrid.git]
/
src
/
xbt
/
dict_elm.c
diff --git
a/src/xbt/dict_elm.c
b/src/xbt/dict_elm.c
index
5616959
..
b78d452
100644
(file)
--- a/
src/xbt/dict_elm.c
+++ b/
src/xbt/dict_elm.c
@@
-2,11
+2,10
@@
/* dict - a generic dictionnary, variation over the B-tree concept */
/* dict - a generic dictionnary, variation over the B-tree concept */
-/* Authors: Martin Quinson */
-/* Copyright (C) 2003 the OURAGAN project. */
+/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
/* This program is free software; you can redistribute it and/or modify it
-
under the terms of the license (GNU LGPL) which comes with this package. */
+
*
under the terms of the license (GNU LGPL) which comes with this package. */
#include "dict_private.h" /* prototypes of this module */
#include "dict_private.h" /* prototypes of this module */
@@
-131,7
+130,6
@@
_xbt_dictelm_alloc(char *key,
void *data,
void_f_pvoid_t *free_f,
/*OUT*/s_xbt_dictelm_t **pp_elm) {
void *data,
void_f_pvoid_t *free_f,
/*OUT*/s_xbt_dictelm_t **pp_elm) {
- xbt_error_t errcode = no_error;
s_xbt_dictelm_t *p_elm = NULL;
p_elm = xbt_new(s_xbt_dictelm_t,1);
s_xbt_dictelm_t *p_elm = NULL;
p_elm = xbt_new(s_xbt_dictelm_t,1);
@@
-653,7
+651,6
@@
_xbt_dictelm_get_rec(s_xbt_dictelm_t *p_head,
int key_len,
int offset,
void **data) {
int key_len,
int offset,
void **data) {
- void *res;
CDEBUG3(dict_search, "Search %.*s in %p", key_len, key, (void*)p_head);
CDEBUG3(dict_search, "Search %.*s in %p", key_len, key, (void*)p_head);