mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-27 07:58:07 -04:00
scan-build: fix a couple of minor warnings from a scan-build run
This commit is contained in:
parent
9abc5ca971
commit
15b12f45c6
6 changed files with 7 additions and 5 deletions
4
csi.c
4
csi.c
|
|
@ -54,8 +54,8 @@ csi_as_string(struct terminal *term, uint8_t final)
|
|||
i == term->vt.params.idx - 1 ? "" : ";");
|
||||
}
|
||||
|
||||
c += snprintf(&msg[c], sizeof(msg) - c, "%c (%zu parameters)",
|
||||
final, term->vt.params.idx);
|
||||
snprintf(&msg[c], sizeof(msg) - c, "%c (%zu parameters)",
|
||||
final, term->vt.params.idx);
|
||||
return msg;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue