coroutines: Fix unused value found by static analysis.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 30 May 2020 16:03:40 +0000 (17:03 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 30 May 2020 18:08:36 +0000 (19:08 +0100)
commit9df0ff5f219b9e93d007f42939a6449ce2521cf5
tree5bbf62f7cac2d83aff6c4457647783b157182015
parent05e4db63d044ee235d2fbfab8b0bb9fbdfb18315
coroutines: Fix unused value found by static analysis.

This fixes up the zero-initialization of the coro frame pointer
to avoid an unused assigned value, spotted by Martin Liska with
static analysis.

gcc/cp/ChangeLog:

* coroutines.cc (morph_fn_to_coro): Revise initialization
of the frame pointer to avoid an unused value.
gcc/cp/coroutines.cc