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

Skip to content
Commit c37d081d authored by Maciej Żenczykowski's avatar Maciej Żenczykowski
Browse files

DnsResolver/getaddrinfo.cpp - fixes bugprone-branch-clone warning



Fixes:
  packages/modules/DnsResolver/getaddrinfo.cpp:731:9: error: switch has 2 consecutive identical branches [bugprone-branch-clone,-warnings-as-errors]
          case SOCK_DGRAM:
          ^
  packages/modules/DnsResolver/getaddrinfo.cpp:737:18: note: last of these clones ends here
              break;
                   ^

Test: builds
Bug: 153035880
Signed-off-by: default avatarMaciej Żenczykowski <maze@google.com>
Change-Id: I03ab16a8841e1389245fe6889ff6f82e2c3063ac
parent 8a81c815
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