(decode_type): drop unused variable realtype.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18160 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-09-24 09:13:12 +00:00
parent e44de8b05e
commit 4e79ae875a

View File

@@ -632,7 +632,7 @@ generate_type_decode (const Symbol *s)
case TType:
case TChoice:
fprintf (codefile,
"size_t ret = 0, reallen;\n"
"size_t ret = 0;\n"
"size_t l;\n"
"int e;\n");
if (preserve)
@@ -640,7 +640,6 @@ generate_type_decode (const Symbol *s)
fprintf (codefile, "\n");
fprintf (codefile, "memset(data, 0, sizeof(*data));\n"); /* hack to avoid `unused variable' */
fprintf (codefile, "reallen = 0;\n");
decode_type ("data", s->type, 0, "goto fail", "Top");
if (preserve)