Browse Source

frontend/device.c, com_alter_common(), #9/11 useless allocation

pre-master-46
rlar 10 years ago
parent
commit
78a0f74bbc
  1. 2
      src/frontend/device.c

2
src/frontend/device.c

@ -1321,7 +1321,7 @@ com_alter_common(wordlist *wl, int do_model)
words = words->wl_next; words = words->wl_next;
xsbuf = rem_xsbuf = wl_flatten(words); xsbuf = rem_xsbuf = wl_flatten(words);
/* fprintf(cp_err, "Chain converted %s \n", xsbuf); */ /* fprintf(cp_err, "Chain converted %s \n", xsbuf); */
list = TMALLOC(double, 1);
list = NULL;
for (;;) { for (;;) {
tmp = INPevaluate(&xsbuf, &error, 1); tmp = INPevaluate(&xsbuf, &error, 1);
if (error) if (error)

Loading…
Cancel
Save