Avoid mixed declaration

This commit is contained in:
Patrick Griffis 2016-12-04 04:44:10 -05:00
parent b6426a1e9f
commit e7da3a052d
1 changed files with 2 additions and 1 deletions

View File

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