fix: remove unused variable and suppress dead_code warning in agor-pro
This commit is contained in:
parent
f19b69f018
commit
c1149561c7
2 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,6 @@ pub fn pro_export_project_summary(project_id: String, days: Option<i64>) -> Resu
|
|||
|
||||
fn epoch_to_iso(epoch: i64) -> String {
|
||||
let secs = epoch;
|
||||
let days = secs / 86400;
|
||||
let time = secs % 86400;
|
||||
let h = time / 3600;
|
||||
let m = (time % 3600) / 60;
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ struct Catalog {
|
|||
|
||||
#[derive(Debug, Clone, Serialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[cfg_attr(not(test), allow(dead_code))]
|
||||
pub struct MarketplaceState {
|
||||
pub catalog: Vec<CatalogPlugin>,
|
||||
pub installed: Vec<InstalledPlugin>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue