mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-10-09 00:58:31 -04:00
fix warning on windows
This commit is contained in:
parent
49e6eace8e
commit
c8bb574948
1 changed files with 1 additions and 2 deletions
|
@ -738,12 +738,11 @@ impl Settings {
|
|||
}
|
||||
|
||||
pub fn verify(&self) -> EyreResult<()> {
|
||||
let inner = self.inner.read();
|
||||
|
||||
cfg_if! {
|
||||
if #[cfg(windows)] {
|
||||
// no ipc setup for windows
|
||||
} else {
|
||||
let inner = self.inner.read();
|
||||
if inner.client_api.ipc_enabled
|
||||
&& !Self::get_or_create_private_directory(&inner.client_api.ipc_directory, true)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue