Skip to content

Commit

Permalink
rm warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rrasmuss4200 committed Oct 15, 2024
1 parent 1e646e6 commit 22769c9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion ex3_ground_station/cli_ground_station/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ use bulk_msg_slicing::*;
use common::*;
use libc::c_int;
use message_structure::*;
use ports::SIM_UHF_GS_PORT;
use std::fs::File;
use std::path::Path;
use tcp_interface::*;
Expand Down
4 changes: 2 additions & 2 deletions ex3_obc_fsw/cmd_dispatcher/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn main() {
};
match component_streams.get(x) {
Some(element) => match element {
Some(e) => {
Some(_e) => {
println!("{} connected", payload);
}
None => {
Expand All @@ -56,7 +56,7 @@ fn main() {

loop {
let mut clients = vec![&mut cmd_client];
let (s,bytes) = match poll_ipc_clients(&mut clients) {
let (_s,_bytes) = match poll_ipc_clients(&mut clients) {
Ok((bytes, sock)) => (bytes,sock),
Err(e) => {
eprintln!("read error: {}", e);
Expand Down
3 changes: 1 addition & 2 deletions ex3_obc_fsw/handlers/dfgm_handler/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ TODO - Setup a way to handle opcodes from messages passed to the handler
*/

use ipc::{poll_ipc_server_sockets, IpcServer};
use ipc::{poll_ipc_clients, IpcClient, IPC_BUFFER_SIZE};
use ipc::{poll_ipc_server_sockets, IpcServer, IPC_BUFFER_SIZE};

//use tcp_interface::BUFFER_SIZE;
use tcp_interface::*;
Expand Down
2 changes: 1 addition & 1 deletion ex3_shared_libs/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub mod ports {
/// Each thing that can emit or receive a message has an associated ID. Each message header includes this id for source and destination.
/// Referencing this page:
pub mod component_ids {
use std::fmt::{self, write};
use std::fmt::{self};
use std::str::FromStr;
use strum::EnumIter;

Expand Down

0 comments on commit 22769c9

Please sign in to comment.