commit | c4f506d7106384e613ed9aa0d17cf9398d6b392c | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Fri Apr 24 03:57:56 2020 +0000 |
committer | Maciej Zenczykowski <maze@google.com> | Fri Apr 24 04:25:47 2020 +0000 |
tree | f4c8dd4cdd753dcaf519d0e162f6a0478b2f83e7 | |
parent | bcb518087cc26d1cd7764ecc73a3dcff7ac897bd [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 Merged-In: 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.