Browse Source

Silence a warning in pdbs_dpm_giveback_enabled

Clara Hobbs 6 years ago
parent
commit
8a2c45dc14
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/device_policy_manager.c

+ 1
- 0
src/device_policy_manager.c View File

295
 
295
 
296
 bool pdbs_dpm_giveback_enabled(struct pdb_config *cfg)
296
 bool pdbs_dpm_giveback_enabled(struct pdb_config *cfg)
297
 {
297
 {
298
+    (void) cfg;
298
     struct pdbs_config *scfg = pdbs_config_flash_read();
299
     struct pdbs_config *scfg = pdbs_config_flash_read();
299
 
300
 
300
     return scfg->flags & PDBS_CONFIG_FLAGS_GIVEBACK;
301
     return scfg->flags & PDBS_CONFIG_FLAGS_GIVEBACK;

Loading…
Cancel
Save