diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog index cf5545c23b..31e3523bd5 100644 --- a/sim/m32c/ChangeLog +++ b/sim/m32c/ChangeLog @@ -1,3 +1,7 @@ +2021-04-07 Simon Marchi + + * opc2c.c (main): Remove vlist variable. + 2021-04-02 Mike Frysinger * aclocal.m4, configure: Regenerate. diff --git a/sim/m32c/opc2c.c b/sim/m32c/opc2c.c index 082d4e9b8a..3d8f2c1bac 100644 --- a/sim/m32c/opc2c.c +++ b/sim/m32c/opc2c.c @@ -507,7 +507,6 @@ main (int argc, char **argv) FILE *in; int lineno = 0; int i; - VaryRef *vlist; if (argc > 2 && strcmp (argv[1], "-l") == 0) { @@ -655,8 +654,6 @@ main (int argc, char **argv) qsort (opcodes, n_opcodes, sizeof (opcodes[0]), op_cmp); - vlist = (VaryRef *) malloc (n_varies * sizeof (VaryRef)); - for (i = 0; i < n_opcodes; i++) { int j, b, v;