From 8d5f170a81097358554ee2ac07aee0bcca1b8d72 Mon Sep 17 00:00:00 2001 From: mquinson Date: Mon, 15 Nov 2004 12:08:32 +0000 Subject: [PATCH] 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 --- src/gras/DataDesc/ddt_exchange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] >= -- 2.20.1