checksrc: warn on empty line before open brace

... and fix a few occurances

Closes #6088
This commit is contained in:
Daniel Stenberg 2020-10-15 15:30:55 +02:00
parent b7ea3d2c22
commit 475c1aba68
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 6 additions and 6 deletions

View file

@ -901,7 +901,6 @@ typedef enum {
static CURLcode ftp_state_use_port(struct connectdata *conn,
ftpport fcmd) /* start with this */
{
CURLcode result = CURLE_OK;
struct ftp_conn *ftpc = &conn->proto.ftpc;