Skip to content

Commit

Permalink
Merge pull request #1716 from zowe/fix/daemon/lint-warnings
Browse files Browse the repository at this point in the history
chore(daemon): Resolve lint warnings
  • Loading branch information
zFernand0 authored May 10, 2023
2 parents d1cf396 + e53f335 commit e7f4484
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions zowex/src/comm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ pub async fn comm_establish_connection(
// https://docs.rs/tokio/latest/tokio/net/windows/named_pipe/struct.ClientOptions.html#method.open
Err(e)
if e.raw_os_error() == Some(ERROR_PIPE_BUSY as i32)
|| e.kind() == io::ErrorKind::NotFound =>
{
()
}
|| e.kind() == io::ErrorKind::NotFound => {}
Err(e) => return Err(e),
}

Expand Down
3 changes: 2 additions & 1 deletion zowex/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,6 @@ pub fn util_terminal_supports_color() -> i32 {
return 1;
}
}
return 0;

0
}

0 comments on commit e7f4484

Please sign in to comment.