summaryrefslogtreecommitdiff
path: root/source3/aparser/templates/prs_array_remainder.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'source3/aparser/templates/prs_array_remainder.tpl')
-rw-r--r--source3/aparser/templates/prs_array_remainder.tpl17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/aparser/templates/prs_array_remainder.tpl b/source3/aparser/templates/prs_array_remainder.tpl
deleted file mode 100644
index c8b1e2ab5a..0000000000
--- a/source3/aparser/templates/prs_array_remainder.tpl
+++ /dev/null
@@ -1,17 +0,0 @@
- if (UNMARSHALLING(ps))
- {
- int i;
- for (i=0;ps->data_offset < ps->buffer_size;i++) {
- if (!io_alloc("@ELEM@", ps, (void **)&il->@ELEM@, sizeof(*(il->@ELEM@))*(i+1))) goto fail;
- if (!io_@TYPE@("@ELEM@...", ps, depth+1, &il->@ELEM@[i], @FLAGS@)) goto fail;
- }
- }
- else
- {
- int i = -1;
- /* HACK ALERT! */
- do {
- i++;
- if (!io_@TYPE@("@ELEM@...", ps, depth+1, &il->@ELEM@[i], @FLAGS@)) goto fail;
- } while (il->@ELEM@[i].tag2 != 0);
- }