# HG changeset patch # User Mikael Berthe # Date 1268170894 -3600 # Node ID 38103f4213c05a46db766b3dba038f8ac0012e17 # Parent dcbf31f99fa38bbe2a66158c7cecd82d78a898a7 Clean up useless variable diff -r dcbf31f99fa3 -r 38103f4213c0 mcabber/mcabber/main.c --- a/mcabber/mcabber/main.c Tue Mar 09 20:45:57 2010 +0100 +++ b/mcabber/mcabber/main.c Tue Mar 09 22:41:34 2010 +0100 @@ -62,8 +62,6 @@ static unsigned int terminate_ui; GMainContext *main_context; -static gboolean update_screen = TRUE; - static struct termios *backup_termios; char *mcabber_version(void) @@ -295,7 +293,6 @@ while (kcode.value != ERR) { process_key(kcode); - update_screen = TRUE; scr_Getch(&kcode); } scr_CheckAutoAway(FALSE); @@ -467,8 +464,7 @@ keyboard_activity(); if (update_roster) scr_DrawRoster(); - if(update_screen) - scr_DoUpdate(); + scr_DoUpdate(); } g_source_destroy(mc_source);