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

@ -82,7 +82,6 @@ struct data {
};
UNITTEST_START
{ /* START sanitize_file_name */
struct data data[] = {
{ "", 0,
@ -349,7 +348,6 @@ UNITTEST_START
#else
UNITTEST_START
{
fprintf(stderr, "Skipped test not for this platform\n");
}