mirror of
https://github.com/curl/curl.git
synced 2026-07-26 01:47:15 +03:00
build: fix Codacy warnings
Reduce variable scopes and remove redundant variable stores. Closes https://github.com/curl/curl/pull/3975
This commit is contained in:
parent
04ac54e196
commit
e23c52b329
23 changed files with 80 additions and 123 deletions
|
|
@ -93,7 +93,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
|||
if((sts & 1) && (iosb.iosb$w_status & 1))
|
||||
buffer[iosb.iosb$w_bcnt] = '\0';
|
||||
|
||||
sts = sys$dassgn(chan);
|
||||
sys$dassgn(chan);
|
||||
}
|
||||
return buffer; /* we always return success */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue