1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-04 04:52:47 -05:00

Remove two unused variables.

They caused build failures at -Wall.
This commit is contained in:
Simon Tatham
2025-04-06 06:39:26 +01:00
parent fee594798f
commit 368d74cc25
2 changed files with 1 additions and 3 deletions

View File

@ -8145,7 +8145,7 @@ void term_set_preedit_text(Terminal *term, char *preedit_text)
term->preedit_termline = NULL;
if (preedit_text != NULL) {
BinarySource src[1];
int width = 0, i;
int width = 0;
term->preedit_termline = newtermline(term, 0, false);
BinarySource_BARE_INIT(src, preedit_text, strlen(preedit_text));