GHA/linux: enable clang-tidy for docs/examples

Also:
- imap-append: silence false positive (seen on Linux only).
  Follow-up to b1f853a384 #20731
  Follow-up to 725c5609ae #20723

Closes #20743
This commit is contained in:
Viktor Szakats 2026-02-26 17:17:19 +01:00
parent 9871f46069
commit ad72af4743
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ static size_t read_cb(char *ptr, size_t size, size_t nmemb, void *userp)
size_t len = strlen(data);
if(room < len)
len = room;
memcpy(ptr, data, len);
memcpy(ptr, data, len); /* NOLINT(bugprone-not-null-terminated-result) */
upload_ctx->bytes_read += len;
return len;