Skip to content

Commit

Permalink
Avoid unused variable with DROPBEAR_CLI_PUBKEY_AUTH 0
Browse files Browse the repository at this point in the history
Fixes PR #291
  • Loading branch information
mkj committed Apr 8, 2024
1 parent dd03da7 commit d59436a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli-runopts.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,9 @@ void loadidentityfile(const char* filename, int warnfail) {
static char* multihop_passthrough_args(void) {
char *args = NULL;
unsigned int len, total;
#if DROPBEAR_CLI_PUBKEY_AUTH
m_list_elem *iter;
#endif
/* Sufficient space for non-string args */
len = 100;

Expand Down

0 comments on commit d59436a

Please sign in to comment.