Avoid mixed declaration

This commit is contained in:
Patrick Griffis 2016-12-04 04:44:10 -05:00
parent b6426a1e9f
commit e7da3a052d

View File

@ -1720,8 +1720,9 @@ memrchr (const void *block, int c, size_t size)
static void static void
exec_print_line (session *sess, char *data, gssize len, gboolean tochannel) exec_print_line (session *sess, char *data, gssize len, gboolean tochannel)
{ {
char *valid;
exec_handle_colors (data, len); exec_handle_colors (data, len);
char *valid = text_fixup_invalid_utf8 (data, len, NULL); valid = text_fixup_invalid_utf8 (data, len, NULL);
if (tochannel) if (tochannel)
{ {
/* must turn off auto-completion temporarily */ /* must turn off auto-completion temporarily */