From c4bea22d2a7a8c5c78af710ce1629274df2a941a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 14 May 2008 11:26:57 +0200 Subject: [PATCH] Avoid mixed-stmt declare --- src/test_record.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test_record.c b/src/test_record.c index 768a8c6..b035c4a 100644 --- a/src/test_record.c +++ b/src/test_record.c @@ -43,15 +43,15 @@ void test_record(int argc, char **argv) struct client *client = 0; char * bla = "blabla"; union data_types data_text; + union data_types data_num; + struct record_metadata * tmp_md = 0; + data_text.text.disp = bla; data_text.text.sort = bla; - - union data_types data_num; data_num.number.min = 2; data_num.number.max = 5; - struct record_metadata * tmp_md = 0; service = conf_service_create(nmem, 4, 3); YAZ_CHECK(service); -- 1.7.10.4