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,6 +295,7 @@ void pdbs_dpm_get_sink_capability(struct pdb_config *cfg, union pd_msg *cap)
295 295
 
296 296
 bool pdbs_dpm_giveback_enabled(struct pdb_config *cfg)
297 297
 {
298
+    (void) cfg;
298 299
     struct pdbs_config *scfg = pdbs_config_flash_read();
299 300
 
300 301
     return scfg->flags & PDBS_CONFIG_FLAGS_GIVEBACK;

Loading…
Cancel
Save