Skip to content
Snippets Groups Projects
Commit fe62636c authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Address GCC warning in SSH code

328:25: warning: ‘pubkey’ may be used uninitialized
parent 0a1c6436
No related branches found
No related tags found
No related merge requests found
Pipeline #5367 passed
......@@ -100,7 +100,7 @@ bool sbbs_t::answer()
char str[MAX_PATH+1],str2[MAX_PATH+1],c;
char tmp[MAX_PATH];
char *ctmp;
char *pubkey;
char *pubkey{nullptr};
size_t pubkeysz;
char path[MAX_PATH+1];
int i,l,in;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment