From 2a6e12926974a1a638d16d2194528baeb327a49e Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Tue, 27 Apr 2004 18:13:16 +0000 Subject: [PATCH] The fake element will be added in lam_ddt_commit function. This commit was SVN r1097. --- src/datatype/dt_add.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/datatype/dt_add.c b/src/datatype/dt_add.c index 17d9b9de06..4ec31f1a02 100644 --- a/src/datatype/dt_add.c +++ b/src/datatype/dt_add.c @@ -131,13 +131,6 @@ int lam_ddt_add( dt_desc_t* pdtBase, dt_desc_t* pdtAdd, unsigned int count, long /* should I add some space until the extent of this datatype ? */ } - /* let's add a fake element at the end just to avoid useless comparaisons - * in pack/unpack functions. - */ - pLast++; - pLast->type = 0; - pLast->flags = 0; - pdtBase->size += count * pdtAdd->size; pdtBase->true_lb = LMIN( pdtBase->true_lb, pdtAdd->true_lb + disp ); pdtBase->true_ub = LMAX( pdtBase->true_ub,