one of these days, I'll learn to format before commit

This commit is contained in:
Jim Melton 2022-07-31 13:48:04 -06:00
parent 9c773a9dda
commit 01fccabf82
No known key found for this signature in database
GPG Key ID: C46392D9AACAB216
2 changed files with 4 additions and 4 deletions

View File

@ -3102,7 +3102,7 @@ void readpos(const char *file, const char *rcv, double *pos)
{
continue;
}
auto sta = stas[np++]; // NOLINT(readability-qualified-auto)
auto sta = stas[np++]; // NOLINT(readability-qualified-auto)
std::strncpy(sta, str, 16);
sta[15] = '\0';
}

View File

@ -1956,7 +1956,7 @@ void *ftpthread(void *arg)
/* if local file exist, skip download */
auto tmpfile = local;
for (auto ext : {".z", ".gz", ".zip", ".Z", ".GZ", ".ZIP"}) // NOLINT(readability-qualified-auto): auto decoration is less readable
for (auto ext : {".z", ".gz", ".zip", ".Z", ".GZ", ".ZIP"}) // NOLINT(readability-qualified-auto): auto decoration is less readable
{
if (tmpfile.extension() == ext)
{
@ -1980,7 +1980,7 @@ void *ftpthread(void *arg)
if (*proxyaddr)
{
auto proto = "ftp"s;
if (ftp->proto) proto = "http"s; // NOLINT(readability-braces-around-statements): adding braces reduces readability
if (ftp->proto) proto = "http"s; // NOLINT(readability-braces-around-statements): adding braces reduces readability
env = "set "s + proto + "_proxy=http://"s + std::string(proxyaddr) + " % ";
proxyopt = "--proxy=on ";
}
@ -2024,7 +2024,7 @@ void *ftpthread(void *arg)
}
/* uncompress downloaded file */
for (auto ext : {".z", ".gz", ".zip", ".Z", ".GZ", ".ZIP"}) // NOLINT(readability-qualified-auto): auto decoration is less readable
for (auto ext : {".z", ".gz", ".zip", ".Z", ".GZ", ".ZIP"}) // NOLINT(readability-qualified-auto): auto decoration is less readable
{
if (local.extension() == ext)
{