Stronger statement would be assert(), even stronger croak(),
but don't know the code well enough.
Coverity perl5 CIDs 68584 and 68585.
nothing (the empty list).
*/
- const HV * hv;
+ const HV * hv = NULL;
if (SvROK(rhv) && SvTYPE(SvRV(rhv))==SVt_PVHV && !SvMAGICAL(SvRV(rhv))) {
hv = (const HV *) SvRV(rhv);
} else if (!SvOK(rhv)) {
* of the hash store, combined with regular remappings means that relative
* order of keys changes each remap.
*/
- const HV * hv;
+ const HV * hv = NULL;
if (SvROK(rhv) && SvTYPE(SvRV(rhv))==SVt_PVHV && !SvMAGICAL(SvRV(rhv))) {
hv = (const HV *) SvRV(rhv);
} else if (!SvOK(rhv)) {