From e7da3a052d39e7039daeea8d041f4ff5b3226d18 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Sun, 4 Dec 2016 04:44:10 -0500 Subject: Avoid mixed declaration --- src/common/outbound.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/common/outbound.c b/src/common/outbound.c index fab0c1a2..20071db3 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -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 */ -- cgit 1.4.1