Browse Source

The 'j' variable is assigned values twice successively.

Obviously the first assigment is waste because 'j' has the meaning of row count.
pre-master-46
dwarning 8 years ago
committed by Holger Vogt
parent
commit
5590406acf
  1. 1
      src/frontend/postcoms.c

1
src/frontend/postcoms.c

@ -273,7 +273,6 @@ com_print(wordlist *wl)
out_send("\n");
out_send(buf2);
(void) sprintf(buf, "%s %s", p->pl_name, p->pl_date);
j = (width - (int) strlen(buf)) / 2;
out_send(buf);
out_send("\n");
for (i = 0; i < width; i++)

Loading…
Cancel
Save