Hack to avoid `unused variable'.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4577 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-03-16 21:26:15 +00:00
parent e83315dc1e
commit ca8b03f428
2 changed files with 4 additions and 2 deletions

View File

@@ -297,8 +297,9 @@ generate_type_decode (Symbol *s)
fprintf (codefile,
"size_t ret = 0, reallen;\n"
"size_t l;\n"
"int e, i;\n\n");
"int i, e;\n\n");
fprintf(codefile, "i = 0;\n"); /* hack to avoid `unused variable' */
decode_type ("data", s->type);
fprintf (codefile,
"if(size) *size = ret;\n"