mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-11-22 08:56:58 -06:00
fix warning on windows
This commit is contained in:
parent
49e6eace8e
commit
c8bb574948
@ -738,12 +738,11 @@ impl Settings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn verify(&self) -> EyreResult<()> {
|
pub fn verify(&self) -> EyreResult<()> {
|
||||||
let inner = self.inner.read();
|
|
||||||
|
|
||||||
cfg_if! {
|
cfg_if! {
|
||||||
if #[cfg(windows)] {
|
if #[cfg(windows)] {
|
||||||
// no ipc setup for windows
|
// no ipc setup for windows
|
||||||
} else {
|
} else {
|
||||||
|
let inner = self.inner.read();
|
||||||
if inner.client_api.ipc_enabled
|
if inner.client_api.ipc_enabled
|
||||||
&& !Self::get_or_create_private_directory(&inner.client_api.ipc_directory, true)
|
&& !Self::get_or_create_private_directory(&inner.client_api.ipc_directory, true)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user