mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-20 04:28:07 -05:00
Remove two unused variables.
They caused build failures at -Wall.
This commit is contained in:
parent
fee594798f
commit
368d74cc25
@ -8145,7 +8145,7 @@ void term_set_preedit_text(Terminal *term, char *preedit_text)
|
|||||||
term->preedit_termline = NULL;
|
term->preedit_termline = NULL;
|
||||||
if (preedit_text != NULL) {
|
if (preedit_text != NULL) {
|
||||||
BinarySource src[1];
|
BinarySource src[1];
|
||||||
int width = 0, i;
|
int width = 0;
|
||||||
|
|
||||||
term->preedit_termline = newtermline(term, 0, false);
|
term->preedit_termline = newtermline(term, 0, false);
|
||||||
BinarySource_BARE_INIT(src, preedit_text, strlen(preedit_text));
|
BinarySource_BARE_INIT(src, preedit_text, strlen(preedit_text));
|
||||||
|
@ -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)
|
void input_method_preedit_start_event(GtkIMContext *imc, gpointer data)
|
||||||
{
|
{
|
||||||
GtkFrontend *inst = (GtkFrontend *)data;
|
|
||||||
|
|
||||||
#ifdef KEY_EVENT_DIAGNOSTICS
|
#ifdef KEY_EVENT_DIAGNOSTICS
|
||||||
debug(" - IM preedit-start event\n");
|
debug(" - IM preedit-start event\n");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user