mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-28 05:04:15 -05:00
fix some warnings
This commit is contained in:
@@ -44,7 +44,7 @@ pub struct ConfigFile {
|
||||
#[serde(rename_all = "camelCase", untagged)]
|
||||
pub enum UiDir {
|
||||
FromFilesystem(PathBuf),
|
||||
Bundled(BundledUi),
|
||||
Bundled(#[allow(unused)] BundledUi),
|
||||
}
|
||||
|
||||
impl Default for UiDir {
|
||||
@@ -116,5 +116,5 @@ pub enum AddressConfig {
|
||||
///
|
||||
/// See [systemd.socket(5) manual
|
||||
/// page](https://www.freedesktop.org/software/systemd/man/systemd.socket.html).
|
||||
Systemd(String),
|
||||
Systemd(#[cfg_attr(not(target_os = "linux"), allow(unused))] String),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user