commit | 3ff678b7058f38f270ca4dab072f152b66ba2fc2 | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Thu Apr 23 08:51:26 2020 -0700 |
committer | Maciej Żenczykowski <maze@google.com> | Thu Apr 23 13:41:11 2020 -0700 |
tree | c558359ce38105e7211a9496d8e8e692f26980f8 | |
parent | 88f87556b68e429dff34d57fd84073d5bb9e0a0d [diff] |
DnsResolver/DnsTlsSocket - fixes bugprone-unused-return-value warning Fixes: packages/modules/DnsResolver/DnsTlsSocket.cpp:216:5: error: the value returned by this function should be used [bugprone-unused-return-value,-warnings-as-errors] bio.release(); ^ packages/modules/DnsResolver/DnsTlsSocket.cpp:216:5: note: cast the expression to void to silence this warning Test: builds Bug: 153035880 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I683d13024ae70ff75d1e6d3c78c23a73ab9bc301
This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.