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

@@ -240,6 +240,7 @@ generate_type_encode (Symbol *s)
"size_t ret = 0;\n"
"size_t l;\n"
"int i, e;\n\n");
fprintf(codefile, "i = 0;\n"); /* hack to avoid `unused variable' */
encode_type ("data", s->type);
fprintf (codefile, "*size = ret;\n"