]> granicus.if.org Git - vim/commit
patch 9.0.0540: assigning stack variable to argument confuses Coverity v9.0.0540
authorBram Moolenaar <Bram@vim.org>
Thu, 22 Sep 2022 11:48:58 +0000 (12:48 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 22 Sep 2022 11:48:58 +0000 (12:48 +0100)
commit6f98114e4a5db3917c4f9d2fec09e11b4b0d0be5
tree33afae7bcb249782fa0b4b8651c3c3be26fd55e7
parent21d393a12be86126d9326ea0c244d3a101b77151
patch 9.0.0540: assigning stack variable to argument confuses Coverity

Problem:    Assigning stack variable to argument confuses Coverity.
Solution:   Use a local pointer, also makes the code simpler.
src/option.c
src/version.c