X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2539fff313cbd67c45b8490f7961e45e358d9ba2..64318694f830cd0dd242e4a5c8e091a56286da88:/src/xbt/dict_cursor.c diff --git a/src/xbt/dict_cursor.c b/src/xbt/dict_cursor.c index 48eab46c1d..d75e811870 100644 --- a/src/xbt/dict_cursor.c +++ b/src/xbt/dict_cursor.c @@ -2,11 +2,10 @@ /* 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 - 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" @@ -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_error_t errcode = no_error; 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) { - xbt_error_t errcode = no_error; 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) { - xbt_error_t errcode = no_error; CDEBUG0(dict_cursor, "xbt_dict_cursor_rewind"); xbt_assert(cursor);