mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +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::env;
|
||||||
use std::ffi::CString;
|
use std::ffi::CString;
|
||||||
use std::io::{Read, Write};
|
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 std::os::unix::net::UnixStream;
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
use std::sync::atomic::{AtomicBool, Ordering};
|
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(
|
fn handle_pty_session(
|
||||||
master_fd: RawFd,
|
master_fd: RawFd,
|
||||||
session_id: &str,
|
session_id: &str,
|
||||||
command: &[String],
|
_command: &[String],
|
||||||
working_dir: Option<&str>,
|
_working_dir: Option<&str>,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
use std::fs::OpenOptions;
|
use std::fs::OpenOptions;
|
||||||
use std::io::BufWriter;
|
use std::io::BufWriter;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue