Pārlūkot izejas kodu

Silence a warning in pdbs_dpm_giveback_enabled

Clara Hobbs 6 gadus atpakaļ
vecāks
revīzija
8a2c45dc14
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      src/device_policy_manager.c

+ 1
- 0
src/device_policy_manager.c Parādīt failu

@@ -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;

Notiek ielāde…
Atcelt
Saglabāt