commit | 0620a57e5441809ceeed7f3515f91121d84deac8 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Thu Apr 07 21:02:31 2022 +0800 |
committer | Ken Chen <cken@google.com> | Sat Apr 09 12:47:31 2022 +0800 |
tree | 653e94bb82651d1cb0ff0ef1be072aab875d68b8 | |
parent | 637d771880a98d2feb5a9d1839ad59d048722ebb [diff] |
Fix unused-but-set-variable warnings warning: variable 'ret' set but not used [-Wunused-but-set-variable] warning: variable 'ancount' set but not used [-Wunused-but-set-variable] warning: variable 'result' set but not used [-Wunused-but-set-variable] Bug: N/A Test: atest Change-Id: I8e917035f4199685425482222ae44a674a90b1b7
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.