From: mquinson Date: Mon, 15 Nov 2004 12:08:32 +0000 (+0000) Subject: Do declare variables at the begining of the block, not in the middle, to make old... X-Git-Tag: v3.3~4842 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8d5f170a81097358554ee2ac07aee0bcca1b8d72?ds=sidebyside Do declare variables at the begining of the block, not in the middle, to make old gcc happy git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@508 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/gras/DataDesc/ddt_exchange.c b/src/gras/DataDesc/ddt_exchange.c index abd72720bd..e3cee813d3 100644 --- a/src/gras/DataDesc/ddt_exchange.c +++ b/src/gras/DataDesc/ddt_exchange.c @@ -758,8 +758,8 @@ gras_datadesc_recv_rec(gras_socket_t sock, } else if (sub_type->category_code == e_gras_datadesc_type_cat_array && sub_type->category.array_data.fixed_size > 0 && sub_type->category.array_data.type->category_code == e_gras_datadesc_type_cat_scalar) { - array_data = sub_type->category.array_data; gras_datadesc_type_t subsub_type = array_data.type; + array_data = sub_type->category.array_data; VERB1("Array of %d fixed array of scalars, get it in one shot",count); if (subsub_type->aligned_size[GRAS_THISARCH] >=