rpeep(): use OPpPADHV_ISKEYS, not OPpRV2HV_ISKEYS
authorDavid Mitchell <davem@iabyn.com>
Wed, 29 Nov 2017 08:16:26 +0000 (08:16 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 29 Nov 2017 08:16:26 +0000 (08:16 +0000)
commite3929c01a7e43a0710758c66cf3ce4d32715b8d5
tree799816721a74e0977bb3776f4ce8b8564b66ed8e
parent8e79611597d95802d03ffff2bdfe4ca5ab24ea62
rpeep(): use OPpPADHV_ISKEYS, not OPpRV2HV_ISKEYS

I added a bit of code with 748f2c65599 that looked like:

    o->op_private |= (o->op_type == OP_PADHV ?
                      OPpRV2HV_ISKEYS : OPpRV2HV_ISKEYS);

That first constant should of course been OPpPADHV_ISKEYS - although
since both constants currently have the same value, it didn't make any
difference at the time.

Spotted by Coverity, and brought to my attention by jhi++.
op.c