diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2020-09-10 20:11:30 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2020-09-10 20:11:30 +0100 |
commit | b270e1fba25e48e972900f7ea391eedba5ce7672 (patch) | |
tree | cb3f0131b4da31033b064be4bffcb0c3dc63621c | |
parent | 90cac1dd94c7dca59ea8311725177aee06d108b0 (diff) | |
download | pack-b270e1fba25e48e972900f7ea391eedba5ce7672.tar.gz pack-b270e1fba25e48e972900f7ea391eedba5ce7672.tar.xz pack-b270e1fba25e48e972900f7ea391eedba5ce7672.zip |
Remove unused data array
-rw-r--r-- | test_gen.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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); |