Mercurial > vim
view pixmaps/tb_shell.xpm @ 30409:aea53db7eeec v9.0.0540
patch 9.0.0540: assigning stack variable to argument confuses Coverity
Commit: https://github.com/vim/vim/commit/6f98114e4a5db3917c4f9d2fec09e11b4b0d0be5
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 22 12:48:58 2022 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 22 Sep 2022 14:00:08 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_shell_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 6 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s iconGray6 m black c #636363", "o s iconGray2 m none c #bdbdbd", "O s iconColor2 m none c #FFFFFF", "+ s bottomShadowColor m black c #5D6069", /* pixels */ " ", " ... ... ", " .XoXXXoX. ", " .oOoX.XoOo. ", " .XoOoXoOoX. ", " .Xoooo.ooooX. ", " .Xo.XOoXoOX.oX. ", " .oooXOo.oOXooo. ", " .oOo.XOXOX.oOo.+ ", " .XoOo.o.o.oOoX.+ ", " .XooXoooXoOX.+ ", " .XoooOoooX.+ ", " .ooOOOoo.+ ", " ..XoooX..+ ", " .XoooooooX.+ ", " ...........+ ", " ++++++++++ ", " "};