... to catch errors like issue 680504 .
Also build with -fstack-protector?
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform2/+/46b1339a8e3bdacb64fe5e2ecff38b1f38716da8 commit 46b1339a8e3bdacb64fe5e2ecff38b1f38716da8 Author: Lutz Justen <ljusten@chromium.org> Date: Sat Mar 25 02:38:01 2017 authpolicy: Add additional warning cflags Adds warnings about unused variables, shadowed variables etc. and fixes the compile errors it revealed (nothing serious, though). BUG= chromium:680946 TEST=Compiles Change-Id: I8d4457c5c86b48560d99a5b00e8c44130f0107ae Reviewed-on: https://chromium-review.googlesource.com/458658 Commit-Ready: Lutz Justen <ljusten@chromium.org> Tested-by: Lutz Justen <ljusten@chromium.org> Reviewed-by: Roman Sorokin <rsorokin@chromium.org> [modify] https://crrev.com/46b1339a8e3bdacb64fe5e2ecff38b1f38716da8/authpolicy/authpolicy.gyp [modify] https://crrev.com/46b1339a8e3bdacb64fe5e2ecff38b1f38716da8/authpolicy/authpolicy_unittest.cc [modify] https://crrev.com/46b1339a8e3bdacb64fe5e2ecff38b1f38716da8/authpolicy/authpolicy_main.cc [modify] https://crrev.com/46b1339a8e3bdacb64fe5e2ecff38b1f38716da8/authpolicy/authpolicy_testrunner.cc [modify] https://crrev.com/46b1339a8e3bdacb64fe5e2ecff38b1f38716da8/authpolicy/stub_kinit_main.cc [modify] https://crrev.com/46b1339a8e3bdacb64fe5e2ecff38b1f38716da8/authpolicy/process_executor.h [modify] https://crrev.com/46b1339a8e3bdacb64fe5e2ecff38b1f38716da8/authpolicy/authpolicy.cc [modify] https://crrev.com/46b1339a8e3bdacb64fe5e2ecff38b1f38716da8/authpolicy/authpolicy_parser_main.cc
bulk Verify of older or not-user-facing Chromad bugs
Comment 1 by tnagel@chromium.org
, Jan 19 2017