mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-15 12:55:52 +00:00
Fix compiler warnings in term_socket.rs
- Remove unused FromRawFd import - Prefix unused parameters with underscore 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
45f627fddf
commit
dd31dfb9f4
1 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ use serde_json::json;
|
|||
use std::env;
|
||||
use std::ffi::CString;
|
||||
use std::io::{Read, Write};
|
||||
use std::os::unix::io::{AsRawFd, FromRawFd, RawFd};
|
||||
use std::os::unix::io::{AsRawFd, RawFd};
|
||||
use std::os::unix::net::UnixStream;
|
||||
use uuid::Uuid;
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
|
|
@ -336,8 +336,8 @@ fn spawn_via_pty(command: &[String], working_dir: Option<&str>) -> Result<String
|
|||
fn handle_pty_session(
|
||||
master_fd: RawFd,
|
||||
session_id: &str,
|
||||
command: &[String],
|
||||
working_dir: Option<&str>,
|
||||
_command: &[String],
|
||||
_working_dir: Option<&str>,
|
||||
) -> Result<()> {
|
||||
use std::fs::OpenOptions;
|
||||
use std::io::BufWriter;
|
||||
|
|
|
|||
Loading…
Reference in a new issue