jcs
/subtext
/amendments
/175
ansi: Remove unused sprintf parameter
jcs made amendment 175 over 2 years ago
--- ansi.c Fri Jun 17 17:13:28 2022
+++ ansi.c Mon Jun 27 09:07:22 2022
@@ -180,7 +180,7 @@ ansi(struct session *s, ...)
} else if (s->vt52) {
/* go to beginning of line, then move right N times */
strlcat(ansi_out, "\r", sizeof(ansi_buf[0]));
- sprintf(ansi_tmp, "\33C", val);
+ sprintf(ansi_tmp, "\33C");
for (n = 0; n < val; n++)
len = strlcat(ansi_out, ansi_tmp,
sizeof(ansi_buf[0]));