projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b100694
)
Avoid mixed-stmt declare
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 14 May 2008 09:26:57 +0000
(11:26 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 14 May 2008 09:26:57 +0000
(11:26 +0200)
src/test_record.c
patch
|
blob
|
history
diff --git
a/src/test_record.c
b/src/test_record.c
index
768a8c6
..
b035c4a
100644
(file)
--- 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);