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
I probably had been drinking too much the day I have written this command... Sorry...
[simgrid.git]
/
src
/
xbt
/
dict_cursor.c
diff --git
a/src/xbt/dict_cursor.c
b/src/xbt/dict_cursor.c
index
48eab46
..
d75e811
100644
(file)
--- a/
src/xbt/dict_cursor.c
+++ b/
src/xbt/dict_cursor.c
@@
-2,11
+2,10
@@
/* dict_cursor - iterators over dictionnaries */
/* dict_cursor - iterators over dictionnaries */
-/* Authors: Martin Quinson */
-/* Copyright (C) 2003,2004 Martin Quinson. */
+/* 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 "xbt/misc.h"
#include "dict_private.h"
#include "xbt/misc.h"
#include "dict_private.h"
@@
-47,7
+46,6
@@
_cursor_push_keys(xbt_dict_cursor_t p_cursor,
*/
xbt_dict_cursor_t
xbt_dict_cursor_new(const xbt_dict_t head) {
*/
xbt_dict_cursor_t
xbt_dict_cursor_new(const xbt_dict_t head) {
- xbt_error_t errcode = no_error;
xbt_dict_cursor_t res = NULL;
res = xbt_new(s_xbt_dict_cursor_t,1);
xbt_dict_cursor_t res = NULL;
res = xbt_new(s_xbt_dict_cursor_t,1);
@@
-102,7
+100,6
@@
static _XBT_INLINE
void
_cursor_push_keys(xbt_dict_cursor_t cursor,
xbt_dictelm_t elm) {
void
_cursor_push_keys(xbt_dict_cursor_t cursor,
xbt_dictelm_t elm) {
- xbt_error_t errcode = no_error;
xbt_dictelm_t child = NULL;
int i = 0;
static volatile int count = 0; /* ??? */
xbt_dictelm_t child = NULL;
int i = 0;
static volatile int count = 0; /* ??? */
@@
-132,7
+129,6
@@
_cursor_push_keys(xbt_dict_cursor_t cursor,
*/
void
xbt_dict_cursor_rewind(xbt_dict_cursor_t cursor) {
*/
void
xbt_dict_cursor_rewind(xbt_dict_cursor_t cursor) {
- xbt_error_t errcode = no_error;
CDEBUG0(dict_cursor, "xbt_dict_cursor_rewind");
xbt_assert(cursor);
CDEBUG0(dict_cursor, "xbt_dict_cursor_rewind");
xbt_assert(cursor);