checksrc: check for spaces before the colon of switch labels

Closes #11047
This commit is contained in:
Emanuele Torre 2023-04-27 19:01:28 +02:00 committed by Daniel Stenberg
parent 5cdff4f5a9
commit 7f712399d5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 11 additions and 4 deletions

View file

@ -74,7 +74,7 @@ static void show_dir_errno(FILE *errors, const char *name)
"exceeded your quota.\n", name);
break;
#endif
default :
default:
fprintf(errors, "Error creating directory %s.\n", name);
break;
}