Fix compilation warnings

This commit is contained in:
2025-12-03 00:03:44 +01:00
parent b0b2d576cc
commit 012b31df3a
3 changed files with 64 additions and 12 deletions
+2 -1
View File
@@ -108,7 +108,8 @@ bool process_completion_read_file(ProxyState *state,
operation->request->url.path.ptr,
operation->request->url.path.len,
};
operation->handle = toasty_begin_read(state->backend, path, operation->transferred, dst, cap, TOASTY_VERSION_TAG_EMPTY);
operation->handle = toasty_begin_read(state->backend, path,
operation->transferred, dst, cap, TOASTY_VERSION_TAG_EMPTY);
if (operation->handle == TOASTY_INVALID) {
assert(0); // TODO
}