1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-18 19:48:05 -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));

View File

@ -2120,8 +2120,6 @@ void input_method_commit_event(GtkIMContext *imc, gchar *str, gpointer data)
void input_method_preedit_start_event(GtkIMContext *imc, gpointer data)
{
GtkFrontend *inst = (GtkFrontend *)data;
#ifdef KEY_EVENT_DIAGNOSTICS
debug(" - IM preedit-start event\n");
#endif