changeset 1927:dc615fdb7c06

Fix declaration after statement Caught by just-added c89 build
author Matt Johnston <matt@ucc.asn.au>
date Wed, 30 Mar 2022 14:32:49 +0800
parents e356093a6812
children 333688ec53d0
files cli-authinteract.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cli-authinteract.c	Wed Mar 30 14:29:18 2022 +0800
+++ b/cli-authinteract.c	Wed Mar 30 14:32:49 2022 +0800
@@ -114,8 +114,8 @@
 	m_free(instruction);
 
 	for (i = 0; i < num_prompts; i++) {
+		unsigned int response_len = 0;
 		cli_ses.is_trivial_auth = 0;
-		unsigned int response_len = 0;
 		prompt = buf_getstring(ses.payload, NULL);
 		cleantext(prompt);