aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2018-10-04 13:06:59 +0000
committerTamar Christina <tnfchris@gcc.gnu.org>2018-10-04 13:06:59 +0000
commitac712e4eb43f3dd8d7f12624ea4014ecb2a9cf34 (patch)
treea540c09dec8245ba44904ec75d2f9b6a64e0fddb /gcc/tree-inline.c
parent3edbcdbead288664d874dd3a2e0d8ada4c565af0 (diff)
downloadgcc-ac712e4eb43f3dd8d7f12624ea4014ecb2a9cf34.zip
gcc-ac712e4eb43f3dd8d7f12624ea4014ecb2a9cf34.tar.gz
gcc-ac712e4eb43f3dd8d7f12624ea4014ecb2a9cf34.tar.bz2
Remove superfluous assignment in add_params.
This fixes the superfluous assignment that Coverity reported in add_params, and changes the starting index from 0 to num_params - n in order for it to work properly if add_params is called multiple times. validate_params calls error so it doesn't matter that we don't check the results here. The results is checked in individual parameter updates after front-end initialization. 2018-10-04 Tamar Christina <tamar.christina@arm.com> * params.c (add_params): Fix initialization. From-SVN: r264841
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions