From d0f93fcd547cac2066ebef7f411805f6e4bf0521 Mon Sep 17 00:00:00 2001 From: jake Date: Sun, 15 Sep 2019 15:17:30 -0700 Subject: [PATCH] fix compiler warnings --- src/packet/login.rs | 2 +- src/packet/patch.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/packet/login.rs b/src/packet/login.rs index ccb0e2a..93a2a1c 100644 --- a/src/packet/login.rs +++ b/src/packet/login.rs @@ -3,7 +3,7 @@ use crate::{PSOPacket, PacketParseError}; use crate::character::character::SelectScreenCharacter; -use std::io::{Read, Seek, SeekFrom}; +use std::io::Read; pub const PATCH_FILE_CHUNK_SIZE: u16 = 0x8000; // 32kb pub const GUILD_CARD_CHUNK_SIZE: usize = 0x6800; diff --git a/src/packet/patch.rs b/src/packet/patch.rs index 71165f4..27036dc 100644 --- a/src/packet/patch.rs +++ b/src/packet/patch.rs @@ -1,7 +1,7 @@ use psopacket::pso_packet; use crate::{PSOPacket, PacketParseError}; -use std::io::{Read, Seek, SeekFrom}; +use std::io::Read; pub const PATCH_FILE_CHUNK_SIZE: u16 = 0x8000; // 32kb