aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test_gen.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test_gen.c b/test_gen.c
index 66e8369..0687146 100644
--- a/test_gen.c
+++ b/test_gen.c
@@ -139,7 +139,6 @@ static void unsigned_check(FILE *out, const struct fmtinfo *fi, enum endian e, u
static void generate_simple(FILE *out, enum fmt fmt)
{
- unsigned char data[8];
struct fmtinfo *fi;
bool sign;
@@ -149,8 +148,6 @@ static void generate_simple(FILE *out, enum fmt fmt)
sign = islower(fi->fmt);
- assert(fi->size <= sizeof data);
-
fprintf(out, "TEST(%s)\n", cname(fi->type));
fprintf(out, "{\n");
fprintf(out, "\t%s v[1] = { __LINE__ };\n", fi->type);