Fix unused variable warning in ftruncate implementation

Co-Authored-By: christian@neon.tech <christian@neon.tech>
This commit is contained in:
Devin AI
2025-05-08 12:38:54 +00:00
parent 810a25e58b
commit ecb6c13977

View File

@@ -204,7 +204,7 @@ impl Handle {
pub async fn ftruncate<F: tokio_epoll_uring::IoFd + Send>(
&self,
file: F,
len: u64,
_len: u64,
) -> (F, Result<(), tokio_epoll_uring::Error<std::io::Error>>) {
let err = std::io::Error::new(
std::io::ErrorKind::Other,