diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2022-06-08 14:38:19 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2022-06-08 14:38:19 +0100 |
commit | 37a94617085a82b7af352df83dfd5eb4788aa27b (patch) | |
tree | 0929189b4b5b0c3dac71710dbb24c8a47baa308a /op.c | |
parent | a5f200dfe4cd59bf70555c0d8e6f37fffd08e7e7 (diff) | |
download | perl-37a94617085a82b7af352df83dfd5eb4788aa27b.tar.gz |
Appease gcc's warning that keysv may be used uninitialized in op.c
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1852,7 +1852,7 @@ C<is_slice> selects between two different messages used in different places. static void S_warn_elem_scalar_context(pTHX_ const OP *o, SV *name, bool is_hash, bool is_slice) { - SV *keysv; + SV *keysv = NULL; const char *keypv = NULL; const char lbrack = is_hash ? '{' : '['; |