fix: clang-format compliance
CI / lint (pull_request) Successful in 8s
CI / sanitizers (address) (pull_request) Successful in 14s
CI / sanitizers (undefined) (pull_request) Successful in 16s
CI / fuzz-build (pull_request) Successful in 15s
CI / coverage (pull_request) Successful in 9s
CI / valgrind (pull_request) Successful in 11s
CI / build-and-test (pull_request) Successful in 52s

This commit is contained in:
2026-07-20 22:01:03 +02:00
parent 9a214c46e2
commit 552561146a
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -54,7 +54,8 @@ FileMetadata* metadata_from_buf(char** buf) {
if (!present)
return NULL;
FileMetadata* m = malloc(sizeof(FileMetadata));
if (m == NULL) return NULL;
if (m == NULL)
return NULL;
int32_t mode;
memcpy(&mode, *buf, sizeof(mode));
*buf += sizeof(mode);