Commit c7eb313c authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Don't assign to unused variable

CID 433272
parent 4cff7bf1
......@@ -1036,7 +1036,7 @@ void sbbs_t::maindflts(user_t* user)
if(!noyes(text[NewPasswordQ])) {
bputs(text[CurrentPassword]);
console|=CON_R_ECHOX;
ch=(char)getstr(str,LEN_PASS,K_UPPER);
getstr(str,LEN_PASS,K_UPPER);
console&=~(CON_R_ECHOX|CON_L_ECHOX);
if(sys_status&SS_ABORT)
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment