Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use the standard model
[simgrid.git] / src / gras / DataDesc / cbps.c
index e37d6fe..2086c65 100644 (file)
@@ -2,11 +2,12 @@
 
 /* cbps - persistant states for callbacks                                   */
 
-/* Authors: Olivier Aumage, Martin Quinson                                  */
-/* Copyright (C) 2003, 2004 da GRAS posse.                                  */
+/* Copyright (c) 2003 Olivier Aumage.                                       */
+/* 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 "gras/DataDesc/datadesc_private.h"
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(ddt_cbps,datadesc,"callback persistant state");
@@ -32,7 +33,6 @@ static void free_string(void *d){
 }
 
 gras_cbps_t gras_cbps_new(void) {
-  xbt_error_t errcode;
   gras_cbps_t  res;
 
   res=xbt_new(s_gras_cbps_t,1);
@@ -306,7 +306,6 @@ gras_cbps_block_end(gras_cbps_t ps) {
 void
 gras_cbps_i_push(gras_cbps_t ps,
                 int val) {
-  xbt_error_t errcode;
   DEBUG1("push %d as a size",val);
   xbt_dynar_push_as(ps->lints,int,val);
 }