remove unused variable

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11068 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-08-09 15:37:34 +00:00
parent cbcdc68e67
commit dca68aa10e

View File

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