Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a803670d authored by Maciej Żenczykowski's avatar Maciej Żenczykowski Committed by Maciej Zenczykowski
Browse files

TrafficController - comment out some dead code (clang-analyzer-deadcode.DeadStores)



Fixes:
  system/netd/server/TrafficController.cpp:
  713:9: error: Value stored to 'type' is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
        type = WHITELIST;
        ^
  713:9: note: Value stored to 'type' is never read
  714:9: error: Value stored to 'rule' is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
        rule = ALLOW;
        ^
  714:9: note: Value stored to 'rule' is never read
  system/netd/server/TrafficController.cpp:
  716:9: error: Value stored to 'type' is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
        type = BLACKLIST;
        ^
  716:9: note: Value stored to 'type' is never read
  717:9: error: Value stored to 'rule' is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
        rule = DENY;
        ^
  717:9: note: Value stored to 'rule' is never read

Test: builds
Bug: 155351989
Signed-off-by: default avatarMaciej Żenczykowski <maze@google.com>
Change-Id: I070cd1ac4e205008b09c9ad919aea82784da4e01
Merged-In: I070cd1ac4e205008b09c9ad919aea82784da4e01
parent 59f18932
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment