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

Fix warning: ‘ret’ may be used uninitialized

parent e4d145cf
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ rlogin_connect(struct bbslist *bbs)
if (bbs->conn_type == CONN_TYPE_MBBS_GHOST) {
char sbuf[180];
char rbuf[10];
int idx, ret;
int idx, ret = -1;
/* Check to make sure GHost is actually listening */
sendsocket(rlogin_sock, "\r\nMBBS: PING\r\n", 14);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment