c-warn.c (find_array_ref_with_const_idx_r): Remove parameter names.
authorMarek Polacek <polacek@redhat.com>
Mon, 17 Oct 2016 19:29:00 +0000 (19:29 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 17 Oct 2016 19:29:00 +0000 (19:29 +0000)
commit8fa18c06a2977b0ef00c440f5f103f612ce6dc61
tree07e0f94fbad6ec0f3f5f4718640fc4a5bb1db808
parent1d30acf68750f2617c3779176781a26b0b50cfa8
c-warn.c (find_array_ref_with_const_idx_r): Remove parameter names.

* c-warn.c (find_array_ref_with_const_idx_r): Remove parameter names.
Return immediately when finding a match.
(warn_tautological_cmp): Remove a boolean variable that is no longer
needed.

From-SVN: r241278
gcc/c-family/ChangeLog
gcc/c-family/c-warn.c