diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2015-07-16 08:08:19 +0100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2015-07-22 15:25:02 +1000 |
commit | 86f4502880c5cbc7a5ec1510ab05a413bfb40e03 (patch) | |
tree | 6e5ddd337290d64808f8fca999bb4c3b97f0f96b /doop.c | |
parent | c7a622b32220ef59969124212598b6848bcaa247 (diff) | |
download | perl-86f4502880c5cbc7a5ec1510ab05a413bfb40e03.tar.gz |
Merge declaration and initialisation of local variable
Commit 2b32fed8 removed the PUTBACK/SPAGAIN around hv_iterval and
Perl_sv_setpvf, but didn't take the opportunity to merge the
initialisation with the declaration now that there's no code between
them.
Diffstat (limited to 'doop.c')
-rw-r--r-- | doop.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1263,8 +1263,7 @@ Perl_do_kv(pTHX) XPUSHs(sv); } if (dovalues) { - SV *tmpstr; - tmpstr = hv_iterval(keys,entry); + SV *tmpstr = hv_iterval(keys,entry); DEBUG_H(Perl_sv_setpvf(aTHX_ tmpstr, "%lu%%%d=%lu", (unsigned long)HeHASH(entry), (int)HvMAX(keys)+1, |